public abstract class TargetedOperation extends Object
| Constructor and Description |
|---|
TargetedOperation(MessageOperation op)
Builds a TargetedOperation for the given admin operation.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<InstanceId> |
getInstanceIds()
Gets the collection of targeted instance IDs.
|
MessageOperation |
getOperation()
Gets the real admin operation for which we are declaring targets.
|
abstract void |
updateTargets(SystemStatus systemStatus)
Updates the collection of targeted instance IDs given the system status.
|
public TargetedOperation(MessageOperation op)
op - The admin operation for which to declare targetspublic Collection<InstanceId> getInstanceIds()
public abstract void updateTargets(SystemStatus systemStatus)
systemStatus - The system statuspublic MessageOperation getOperation()