public class ExternalIdentityMonitorImpl extends java.lang.Object implements ExternalIdentityMonitor
NOOP
Constructor and Description |
---|
ExternalIdentityMonitorImpl(@NotNull StatisticsProvider statisticsProvider) |
Modifier and Type | Method and Description |
---|---|
void |
doneSyncExternalIdentity(long timeTakenNanos,
@NotNull SyncResult result,
int retryCount)
Mark the successful completion of
SyncContext.sync(ExternalIdentity) . |
void |
doneSyncId(long timeTakenNanos,
@NotNull SyncResult result)
Mark the successful completion of
SyncContext.sync(String) . |
void |
syncFailed(@NotNull SyncException syncException)
Mark the failure of a sync operation that resulted in the given
SyncException . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMonitorClass, getMonitorProperties
public ExternalIdentityMonitorImpl(@NotNull @NotNull StatisticsProvider statisticsProvider)
public void doneSyncExternalIdentity(long timeTakenNanos, @NotNull @NotNull SyncResult result, int retryCount)
ExternalIdentityMonitor
SyncContext.sync(ExternalIdentity)
.doneSyncExternalIdentity
in interface ExternalIdentityMonitor
timeTakenNanos
- Time in nanoseconds spend to complete SyncContext.sync(ExternalIdentity)
result
- The result of the sync operation.retryCount
- The number of retries needed to complete the sync.public void doneSyncId(long timeTakenNanos, @NotNull @NotNull SyncResult result)
ExternalIdentityMonitor
SyncContext.sync(String)
.doneSyncId
in interface ExternalIdentityMonitor
timeTakenNanos
- Time in nanoseconds spend to complete SyncContext.sync(String)
result
- The result of the sync operation.public void syncFailed(@NotNull @NotNull SyncException syncException)
ExternalIdentityMonitor
SyncException
.syncFailed
in interface ExternalIdentityMonitor
syncException
- The sync exception.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.