Class CreateHTTPLBRefCommand

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="create-http-lb-ref")
    @PerLookup
    @TargetType({STANDALONE_INSTANCE,CLUSTER})
    @ExecuteOn(DAS)
    public final class CreateHTTPLBRefCommand
    extends LBCommandsBase
    implements AdminCommand
    This is a remote command that supports the create-http-lb-ref CLI command. It creates a server-ref|cluster-ref, health-checker by using the given parameters. lbname: the name of the load-balancer element that exists config: the name of the lb-config element that exists target: cluster-ref or server-ref parameter of lb-config * healthcheckerurl: url attribute of health-checker healthcheckerinterval: interval-in-seconds parameter of health-checker healthcheckertimeout: timeout-in-seconds parameter of health-checker
    Author:
    Yamini K B
    • Constructor Detail

      • CreateHTTPLBRefCommand

        public CreateHTTPLBRefCommand()
    • 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