@Service(name="restart-hazelcast") @PerLookup @CommandLock(value=NONE) @ExecuteOn(value=INSTANCE) @TargetType(value={DOMAIN,DEPLOYMENT_GROUP,DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG,DOMAIN}) public class RestartHazelcast extends Object implements AdminCommand
Constructor and Description |
---|
RestartHazelcast() |
Modifier and Type | Method and Description |
---|---|
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the parameter names and the values are the parameter values
|
protected String target
public void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationCopyright © 2019. All rights reserved.