com.ibm.streams.operator.control

Interface PersistentControlMBean

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void setupComplete()
      Called when the JCP has completed its persistent setup of this MBean.
      void updateControlState(byte[] controlState)
      Called when the JCP discovers that data has been associated with this MBean (via its name).
    • Method Detail

      • updateControlState

        void updateControlState(byte[] controlState)
        Called when the JCP discovers that data has been associated with this MBean (via its name).
        Parameters:
        controlState - Control state previous persisted for this MBean.
      • setupComplete

        void setupComplete()
        Called when the JCP has completed its persistent setup of this MBean. This is always called after the MBean has been registered.
        For the first (explicit) creation of the MBean using createMBean(), it will be called once the MBean's constructor arguments have been persisted.
        On subsequent creations of the MBean, driven by the previous persist of the constructor arguments, it will be called after updateControlState(byte[]) if the MBean previously persisted data using AbstractPersistentControlMBean.persistControlState(byte[]) or ControlPlaneMXBean.persistControlState(javax.management.ObjectName, byte[]), otherwise it is called once it is determined no control data was persisted.
        Once this method is called, this MBean has its most recent control state.