Interface Operation
-
- All Known Implementing Classes:
DummyOperationImpl
public interface Operation
Operation being recorded: represents an object to which the client reports the end of the operation. It is called simplyOperation
to avoid confusing the clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
done(ItemProcessingOutcomeType outcome, Throwable exception)
void
done(QualifiedItemProcessingOutcomeType outcome, Throwable exception)
default void
failed(Throwable t)
double
getDurationRounded()
long
getEndTimeMillis()
default @Nullable XMLGregorianCalendar
getEndTimestamp()
@NotNull IterationItemInformation
getIterationItemInformation()
Returns the item characterization for this operation.@NotNull IterativeOperationStartInfo
getStartInfo()
Returns start info for this operation.default void
skipped()
default void
succeeded()
-
-
-
Method Detail
-
succeeded
default void succeeded()
-
skipped
default void skipped()
-
failed
default void failed(Throwable t)
-
done
default void done(ItemProcessingOutcomeType outcome, Throwable exception)
-
done
void done(QualifiedItemProcessingOutcomeType outcome, Throwable exception)
-
getDurationRounded
double getDurationRounded()
-
getEndTimeMillis
long getEndTimeMillis()
-
getIterationItemInformation
@NotNull @NotNull IterationItemInformation getIterationItemInformation()
Returns the item characterization for this operation.
-
getStartInfo
@NotNull @NotNull IterativeOperationStartInfo getStartInfo()
Returns start info for this operation.
-
getEndTimestamp
@Nullable default @Nullable XMLGregorianCalendar getEndTimestamp()
-
-