Interface Operation
-
- All Known Implementing Classes:
DummyOperationImpl
public interface OperationOperation being recorded: represents an object to which the client reports the end of the operation. It is called simplyOperationto avoid confusing the clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voiddone(ItemProcessingOutcomeType outcome, Throwable exception)voiddone(QualifiedItemProcessingOutcomeType outcome, Throwable exception)default voidfailed(Throwable t)doublegetDurationRounded()longgetEndTimeMillis()default @Nullable XMLGregorianCalendargetEndTimestamp()@NotNull IterationItemInformationgetIterationItemInformation()Returns the item characterization for this operation.@NotNull IterativeOperationStartInfogetStartInfo()Returns start info for this operation.default voidskipped()default voidsucceeded()
-
-
-
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()
-
-