Class ExternalIdentityMonitorImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.external.impl.monitor.ExternalIdentityMonitorImpl
-
- All Implemented Interfaces:
ExternalIdentityMonitor,Monitor<ExternalIdentityMonitor>
public class ExternalIdentityMonitorImpl extends Object implements ExternalIdentityMonitor
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.external.impl.monitor.ExternalIdentityMonitor
NOOP
-
-
Constructor Summary
Constructors Constructor Description ExternalIdentityMonitorImpl(@NotNull StatisticsProvider statisticsProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoneSyncExternalIdentity(long timeTakenNanos, @NotNull SyncResult result, int retryCount)Mark the successful completion ofSyncContext.sync(ExternalIdentity).voiddoneSyncId(long timeTakenNanos, @NotNull SyncResult result)Mark the successful completion ofSyncContext.sync(String).voidsyncFailed(@NotNull SyncException syncException)Mark the failure of a sync operation that resulted in the givenSyncException.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.external.impl.monitor.ExternalIdentityMonitor
getMonitorClass, getMonitorProperties
-
-
-
-
Constructor Detail
-
ExternalIdentityMonitorImpl
public ExternalIdentityMonitorImpl(@NotNull @NotNull StatisticsProvider statisticsProvider)
-
-
Method Detail
-
doneSyncExternalIdentity
public void doneSyncExternalIdentity(long timeTakenNanos, @NotNull @NotNull SyncResult result, int retryCount)Description copied from interface:ExternalIdentityMonitorMark the successful completion ofSyncContext.sync(ExternalIdentity).- Specified by:
doneSyncExternalIdentityin interfaceExternalIdentityMonitor- Parameters:
timeTakenNanos- Time in nanoseconds spend to completeSyncContext.sync(ExternalIdentity)result- The result of the sync operation.retryCount- The number of retries needed to complete the sync.
-
doneSyncId
public void doneSyncId(long timeTakenNanos, @NotNull @NotNull SyncResult result)Description copied from interface:ExternalIdentityMonitorMark the successful completion ofSyncContext.sync(String).- Specified by:
doneSyncIdin interfaceExternalIdentityMonitor- Parameters:
timeTakenNanos- Time in nanoseconds spend to completeSyncContext.sync(String)result- The result of the sync operation.
-
syncFailed
public void syncFailed(@NotNull @NotNull SyncException syncException)Description copied from interface:ExternalIdentityMonitorMark the failure of a sync operation that resulted in the givenSyncException.- Specified by:
syncFailedin interfaceExternalIdentityMonitor- Parameters:
syncException- The sync exception.
-
-