Class ScaleRequest

    • Field Detail

      • SCALE_IN

        public static final int SCALE_IN
        Operation corresponding to the addition of one resource.
        See Also:
        Constant Field Values
      • SCALE_OUT

        public static final int SCALE_OUT
        Operation corresponding to the removal of one resource.
        See Also:
        Constant Field Values
      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • op

        private int op
    • Constructor Detail

      • ScaleRequest

        public ScaleRequest​(String destId,
                            int op,
                            String param)
        Adds a destination to a cluster.
        Parameters:
        destId - Identifier of destination.
        op - Operation.
        param - Parameters.
      • ScaleRequest

        public ScaleRequest()