|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.groupmanager.anomaly.AnomalyResolver
public final class AnomalyResolver
Anomaly resolver.
Constructor Summary | |
---|---|
AnomalyResolver(RelocationSettings relocationPolicies,
ResourceDemandEstimator resourceDemandEstimator,
GroupManagerRepository groupManagerRepository,
StateMachine stateMachine)
Constructor. |
Method Summary | |
---|---|
void |
onMigrationPlanEnforced()
Called when migration plan was enforced. |
void |
resolveAnomaly(String localControllerId,
LocalControllerState state)
Called to resolve anomaly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnomalyResolver(RelocationSettings relocationPolicies, ResourceDemandEstimator resourceDemandEstimator, GroupManagerRepository groupManagerRepository, StateMachine stateMachine)
relocationPolicies
- The relocation parametersresourceDemandEstimator
- The resource demand estimatorgroupManagerRepository
- The group manager repositorystateMachine
- The state machineMethod Detail |
---|
public void resolveAnomaly(String localControllerId, LocalControllerState state) throws Exception
localControllerId
- The anomaly local controller identifierstate
- The local controller state
Exception
- The exceptionpublic void onMigrationPlanEnforced()
onMigrationPlanEnforced
in interface MigrationPlanListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |