public class GovernanceManagerImpl extends Object implements GovernanceManager
GovernanceManager
implementation.Constructor and Description |
---|
GovernanceManagerImpl(AdministratorContext adminContext,
int governanceIndex,
ContainerContext containerContext)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
activateGovernance()
Triggers activating the
Governance . |
void |
disregardGovernance()
Triggers disregarding the
Governance . |
void |
enforceGovernance()
Triggers enforcing the
Governance . |
public GovernanceManagerImpl(AdministratorContext adminContext, int governanceIndex, ContainerContext containerContext)
adminContext
- AdministratorContext
. GovernanceContainer
.governanceIndex
- Index of Governance
within the ThreadState
.containerContext
- ContainerContext
.public void activateGovernance()
GovernanceManager
Triggers activating the Governance
.
The activation may not have completed on the return of this method. The
Governance
will however be active before the next Task
is
executed.
activateGovernance
in interface GovernanceManager
public void enforceGovernance()
GovernanceManager
Triggers enforcing the Governance
.
The enforcement may not have completed on the return of this method. The
Governance
will however be enforced before the next Task
is executed or end of ProcessState
.
enforceGovernance
in interface GovernanceManager
public void disregardGovernance()
GovernanceManager
Triggers disregarding the Governance
.
The Governance
may not have been disregarded on the return of
this method. The Governance
will however be disregarded before
the next Task
is executed or end of ProcessState
.
disregardGovernance
in interface GovernanceManager
Copyright © 2005–2016. All rights reserved.