Class NoOpProducer

    • Constructor Detail

    • Method Detail

      • start

        public void start()
                   throws Exception
        Description copied from interface: ClusterSingleton
        Start the operation of the component. Initially this method should set the state to STARTING, and on success it should set the state to RUNNING.
        Throws:
        Exception - on startup errors. The component should revert to the STOPPED state.
      • stop

        public void stop()
        Description copied from interface: ClusterSingleton
        Stop the operation of the component. Initially this method should set the state to STOPPING, and on return it should set the state to STOPPED. Components should also avoid holding any resource when in STOPPED state.