Interface StatisticsCollector
-
public interface StatisticsCollector
An object that receives various statistics and state information, processes them and provides them back to appropriate clients. A bit experimental. We need to think out what kind of statistics and state information we'd like to collect. Currently this functionality is bound to Task interface. However, this may change in the future.- Author:
- Pavol Mederly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getLastFailures()
void
markObjectActionExecutedBoundary()
void
recordIterativeOperationEnd(ShadowType shadow, long started, Throwable exception)
void
recordIterativeOperationEnd(String objectName, String objectDisplayName, QName objectType, String objectOid, long started, Throwable exception)
void
recordIterativeOperationStart(ShadowType shadow)
void
recordIterativeOperationStart(String objectName, String objectDisplayName, QName objectType, String objectOid)
Records information about iterative processing of objects.void
recordMappingOperation(String objectOid, String objectName, String objectTypeName, String mappingName, long duration)
void
recordNotificationOperation(String transportName, boolean success, long duration)
void
recordObjectActionExecuted(PrismObject<? extends ObjectType> object, ChangeType changeType, Throwable exception)
<T extends ObjectType>
voidrecordObjectActionExecuted(PrismObject<T> object, Class<T> objectTypeClass, String defaultOid, ChangeType changeType, String channel, Throwable exception)
void
recordObjectActionExecuted(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception)
Records information about repository (focal) events.void
recordProvisioningOperation(String resourceOid, String resourceName, QName objectClassName, ProvisioningOperation operation, boolean success, int count, long duration)
void
recordState(String message)
Records various kinds of operational information.void
recordSynchronizationOperationEnd(String objectName, String objectDisplayName, QName objectType, String objectOid, long started, Throwable exception, SynchronizationInformation.Record originalStateIncrement, SynchronizationInformation.Record newStateIncrement)
void
recordSynchronizationOperationStart(String objectName, String objectDisplayName, QName objectType, String objectOid)
Records information about synchronization events.void
resetActionsExecutedInformation(ActionsExecutedInformationType value)
void
resetEnvironmentalPerformanceInformation(EnvironmentalPerformanceInformationType value)
Sets initial values for statistics.void
resetIterativeTaskInformation(IterativeTaskInformationType value)
void
resetSynchronizationInformation(SynchronizationInformationType value)
-
-
-
Method Detail
-
recordState
void recordState(String message)
Records various kinds of operational information.
-
recordProvisioningOperation
void recordProvisioningOperation(String resourceOid, String resourceName, QName objectClassName, ProvisioningOperation operation, boolean success, int count, long duration)
-
recordNotificationOperation
void recordNotificationOperation(String transportName, boolean success, long duration)
-
recordMappingOperation
void recordMappingOperation(String objectOid, String objectName, String objectTypeName, String mappingName, long duration)
-
recordIterativeOperationStart
void recordIterativeOperationStart(String objectName, String objectDisplayName, QName objectType, String objectOid)
Records information about iterative processing of objects.
-
recordIterativeOperationStart
void recordIterativeOperationStart(ShadowType shadow)
-
recordIterativeOperationEnd
void recordIterativeOperationEnd(String objectName, String objectDisplayName, QName objectType, String objectOid, long started, Throwable exception)
-
recordIterativeOperationEnd
void recordIterativeOperationEnd(ShadowType shadow, long started, Throwable exception)
-
recordSynchronizationOperationStart
void recordSynchronizationOperationStart(String objectName, String objectDisplayName, QName objectType, String objectOid)
Records information about synchronization events.
-
recordSynchronizationOperationEnd
void recordSynchronizationOperationEnd(String objectName, String objectDisplayName, QName objectType, String objectOid, long started, Throwable exception, SynchronizationInformation.Record originalStateIncrement, SynchronizationInformation.Record newStateIncrement)
-
recordObjectActionExecuted
void recordObjectActionExecuted(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception)
Records information about repository (focal) events.
-
recordObjectActionExecuted
void recordObjectActionExecuted(PrismObject<? extends ObjectType> object, ChangeType changeType, Throwable exception)
-
recordObjectActionExecuted
<T extends ObjectType> void recordObjectActionExecuted(PrismObject<T> object, Class<T> objectTypeClass, String defaultOid, ChangeType changeType, String channel, Throwable exception)
-
markObjectActionExecutedBoundary
void markObjectActionExecutedBoundary()
-
resetEnvironmentalPerformanceInformation
void resetEnvironmentalPerformanceInformation(EnvironmentalPerformanceInformationType value)
Sets initial values for statistics.
-
resetSynchronizationInformation
void resetSynchronizationInformation(SynchronizationInformationType value)
-
resetIterativeTaskInformation
void resetIterativeTaskInformation(IterativeTaskInformationType value)
-
resetActionsExecutedInformation
void resetActionsExecutedInformation(ActionsExecutedInformationType value)
-
-