public class ProvisionerCoordinator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
coordinationTimeout_secs |
protected int |
coordinationUpdateInterval_secs |
protected ProvisionerConfiguration |
provisionerConfig |
| Constructor and Description |
|---|
ProvisionerCoordinator(Provisioner<?,?,?> provisioner)
Create a ProvisionerCoordinator
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getLastSuccessfulFullSyncTime(GrouperGroupInfo group) |
void |
lockForFullSyncIfNoIncrementalIsUnderway(GrouperGroupInfo group)
Used by the Full-Sync provisioners to wait and then lock the group from being incrementally provisioned.
|
void |
lockForIncrementalProvisioningIfNoFullSyncIsUnderway(GrouperGroupInfo group)
Used by the incremental provisioners to wait and then lock the group from full-sync operations
|
void |
unlockAfterFullSync(GrouperGroupInfo group) |
void |
unlockAfterFullSync(GrouperGroupInfo group,
boolean fullSyncWasSuccessful) |
void |
unlockAfterIncrementalProvisioning(GrouperGroupInfo group) |
protected final ProvisionerConfiguration provisionerConfig
protected final int coordinationTimeout_secs
protected final int coordinationUpdateInterval_secs
public ProvisionerCoordinator(Provisioner<?,?,?> provisioner)
provisioner - public void lockForFullSyncIfNoIncrementalIsUnderway(GrouperGroupInfo group)
group - public void unlockAfterFullSync(GrouperGroupInfo group, boolean fullSyncWasSuccessful)
public void unlockAfterFullSync(GrouperGroupInfo group)
public Date getLastSuccessfulFullSyncTime(GrouperGroupInfo group)
public void lockForIncrementalProvisioningIfNoFullSyncIsUnderway(GrouperGroupInfo group)
group - public void unlockAfterIncrementalProvisioning(GrouperGroupInfo group)
Copyright © 2022 Internet2. All rights reserved.