com.ibm.streams.management.instance

Interface InstanceActiveServiceMXBean

    • Field Detail

      • TYPE

        static final java.lang.String TYPE
        TYPE is used to identify this bean as an active instance service bean when building the bean's ObjectName. The value is "domain.instance.service.active"
        See Also:
        Constant Field Values
    • Method Detail

      • getInstance

        java.lang.String getInstance()
        Returns the name of the instance which contains the service.
        Returns:
        the instance name.
      • move

        void move(java.lang.String toResourceId,
                  java.lang.String listenerId)
        Starts a service of this type on the specified resource and stops this active service.
        Parameters:
        resourceId - specifies the Streams unique identifier for the resource on which to start the service.
        listenerId - identifies an operation listener created using createOperationListener. Status messages relating to the progress of this operation are added to the listener as the operation runs. Any existing messages contained in the listener are cleared before the operation starts. If the value is null, this parameter is ignored.
        Throws:
        java.lang.NullPointerException - if toResourceId is null.