Class CounterServer

    • Constructor Detail

      • CounterServer

        public CounterServer​(int id)
    • Method Detail

      • appExecuteOrdered

        public byte[] appExecuteOrdered​(byte[] command,
                                        MessageContext msgCtx)
        Description copied from class: DefaultSingleRecoverable
        Execute a batch of ordered requests
        Specified by:
        appExecuteOrdered in class DefaultSingleRecoverable
        Parameters:
        command - The ordered request
        msgCtx - The context associated to each request
        Returns:
        the reply for the request issued by the client
      • main

        public static void main​(java.lang.String[] args)