Class StopInstanceInstanceCommand

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="_stop-instance")
    @PerLookup
    @CommandLock(NONE)
    @ExecuteOn(INSTANCE)
    public class StopInstanceInstanceCommand
    extends StopServer
    implements AdminCommand
    AdminCommand to stop the instance server. Shutdown of an instance. This is the Async command running on the instance. note: This command is asynchronous. We can't return anything so we just log errors and return
    Author:
    Byron Nevins
    • Constructor Detail

      • StopInstanceInstanceCommand

        public StopInstanceInstanceCommand()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information