com.ibm.streams.management.instance

Interface InstanceTracingPropertiesMXBean



  • public interface InstanceTracingPropertiesMXBean
    InstanceTracingPropertiesMXBean provides attributes, operations, and notifications for working with Streams instance tracing properties.

    ObjectNameBuilder.instancePropertyGroup(String, String, com.ibm.streams.management.instance.InstanceMXBean.PropertyGroup) can be used with a groupName of TRACE to build the ObjectName for an InstanceTracingPropertiesMXBean.

    Notifications:
    A InstanceTracingPropertiesMXBean supports sending the following notifications:

    javax.management.AttributeChangeNotification.ATTRIBUTE_CHANGE
    Only a subset of the attributes support attribute change notification. A note is included in the attribute description for each attribute that supports attribute change notification

    • Method Detail

      • getDefaultLevel

        DomainTracingPropertiesMXBean.Level getDefaultLevel()
        Returns the value of the TRACE_DEFAULT_LEVEL configuration property.

        Note: Attribute change notification is supported for this attribute.

        Returns:
        the default trace level.
        Throws:
        java.lang.IllegalStateException - if the operation is unable to complete successfully.
        java.lang.SecurityException - if the current user does not have the required permissions to perform the operation. Information about Streams permissions can be found in the product documentation at http://www.ibm.com/support/knowledgecenter/SSCRJU_4.1.0/com.ibm.streams.cfg.doc/doc/ibminfospherestreams-security-objects-tables.html
      • setDefaultLevel

        void setDefaultLevel(DomainTracingPropertiesMXBean.Level defaultLevel)
        Sets the value of the TRACE_DEFAULT_LEVEL configuration property.
        Parameters:
        defaultLevel - specifies the new default trace level to set.
        Throws:
        java.lang.IllegalStateException - if the operation is unable to complete successfully.
        java.lang.SecurityException - if the current user does not have the required permissions to perform the operation. Information about Streams permissions can be found in the product documentation at http://www.ibm.com/support/knowledgecenter/SSCRJU_4.1.0/com.ibm.streams.cfg.doc/doc/ibminfospherestreams-security-objects-tables.html
      • getMaximumFileCount

        int getMaximumFileCount()
        Returns the value of the TRACE_MAXIMUM_FILE_COUNT configuration property.

        Note: Attribute change notification is supported for this attribute.

        Returns:
        the maximum trace file count.
        Throws:
        java.lang.IllegalStateException - if the operation is unable to complete successfully.
        java.lang.SecurityException - if the current user does not have the required permissions to perform the operation. Information about Streams permissions can be found in the product documentation at http://www.ibm.com/support/knowledgecenter/SSCRJU_4.1.0/com.ibm.streams.cfg.doc/doc/ibminfospherestreams-security-objects-tables.html
      • setMaximumFileCount

        void setMaximumFileCount(int maximumFileCount)
        Sets the value of the TRACE_MAXIMUM_FILE_COUNT configuration property.
        Parameters:
        maximumFileCount - specifies the new maximum trace file count to set.
        Throws:
        java.lang.IllegalStateException - if the operation is unable to complete successfully.
        java.lang.SecurityException - if the current user does not have the required permissions to perform the operation. Information about Streams permissions can be found in the product documentation at http://www.ibm.com/support/knowledgecenter/SSCRJU_4.1.0/com.ibm.streams.cfg.doc/doc/ibminfospherestreams-security-objects-tables.html
      • getMaximumFileSize

        int getMaximumFileSize()
        Returns the value of the TRACE_MAXIMUM_FILE_SIZE configuration property.

        Note: Attribute change notification is supported for this attribute.

        Returns:
        the maximum trace file size.
        Throws:
        java.lang.IllegalStateException - if the operation is unable to complete successfully.
        java.lang.SecurityException - if the current user does not have the required permissions to perform the operation. Information about Streams permissions can be found in the product documentation at http://www.ibm.com/support/knowledgecenter/SSCRJU_4.1.0/com.ibm.streams.cfg.doc/doc/ibminfospherestreams-security-objects-tables.html
      • setMaximumFileSize

        void setMaximumFileSize(int maximumFileSize)
        Sets the value of the TRACE_MAXIMUM_FILE_SIZE configuration property.
        Parameters:
        maximumFileSize - specifies the new maximum file size to set.
        Throws:
        java.lang.IllegalStateException - if the operation is unable to complete successfully.
        java.lang.SecurityException - if the current user does not have the required permissions to perform the operation. Information about Streams permissions can be found in the product documentation at http://www.ibm.com/support/knowledgecenter/SSCRJU_4.1.0/com.ibm.streams.cfg.doc/doc/ibminfospherestreams-security-objects-tables.html