com.ibm.streams.management.instance
Interface InstanceTracingPropertiesMXBean
-
public interface InstanceTracingPropertiesMXBeanInstanceTracingPropertiesMXBean 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 agroupNameofTRACEto 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description DomainTracingPropertiesMXBean.LevelgetDefaultLevel()Returns the value of theTRACE_DEFAULT_LEVELconfiguration property.intgetMaximumFileCount()Returns the value of theTRACE_MAXIMUM_FILE_COUNTconfiguration property.intgetMaximumFileSize()Returns the value of theTRACE_MAXIMUM_FILE_SIZEconfiguration property.voidsetDefaultLevel(DomainTracingPropertiesMXBean.Level defaultLevel)Sets the value of theTRACE_DEFAULT_LEVELconfiguration property.voidsetMaximumFileCount(int maximumFileCount)Sets the value of theTRACE_MAXIMUM_FILE_COUNTconfiguration property.voidsetMaximumFileSize(int maximumFileSize)Sets the value of theTRACE_MAXIMUM_FILE_SIZEconfiguration property.
-
-
-
Method Detail
-
getDefaultLevel
DomainTracingPropertiesMXBean.Level getDefaultLevel()
Returns the value of theTRACE_DEFAULT_LEVELconfiguration 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 theTRACE_DEFAULT_LEVELconfiguration 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 theTRACE_MAXIMUM_FILE_COUNTconfiguration 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 theTRACE_MAXIMUM_FILE_COUNTconfiguration 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 theTRACE_MAXIMUM_FILE_SIZEconfiguration 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 theTRACE_MAXIMUM_FILE_SIZEconfiguration 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
-
-