|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.queuemanager.MQeResourceMonitor
A monitor which periodically outputs statistics snap-shots to the specified readable data stream.
Field Summary | |
static short[] |
version
Which version of MQe was this example code taken from ? |
Constructor Summary | |
MQeResourceMonitor()
|
Method Summary | |
boolean |
isFormatCommaSeparatedFields()
Returns the formatCommaSeparatedFields. |
boolean |
isFormatReadableMemoryData()
Returns the formatReadableMemoryData. |
boolean |
isFormatReadableThreadData()
Returns the formatReadableThreadData. |
boolean |
isFormatToTrace()
Returns the formatToTrace. |
boolean |
isRunning()
Indicates whether the monitor is running or not. |
void |
run()
Background thread run method. |
void |
setFormatCommaSeparatedFields(boolean formatCommaSeparatedFields)
Sets the formatCommaSeparatedFields. |
void |
setFormatReadableMemoryData(boolean formatReadableMemoryData)
Sets the formatReadableMemoryData. |
void |
setFormatReadableThreadData(boolean formatReadableThreadData)
Sets the formatReadableThreadData. |
void |
setFormatToTrace(boolean formatToTrace)
Sets the formatToTrace. |
void |
setMilliSecsBetweenReadings(int milliSecsBetweenReadings)
|
void |
setOutputStream(java.io.OutputStream outStream)
|
void |
start()
Called when the monitoring is supposed to start. |
void |
stop()
Called when monitoring should be stopped. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
Constructor Detail |
public MQeResourceMonitor()
Method Detail |
public boolean isRunning()
public void setMilliSecsBetweenReadings(int milliSecsBetweenReadings)
public void setOutputStream(java.io.OutputStream outStream)
public void start()
java.lang.Exception
public void stop()
java.lang.Exception
public void run()
run
in interface java.lang.Runnable
public boolean isFormatCommaSeparatedFields()
public boolean isFormatReadableMemoryData()
public boolean isFormatReadableThreadData()
public boolean isFormatToTrace()
public void setFormatCommaSeparatedFields(boolean formatCommaSeparatedFields)
formatCommaSeparatedFields
- The formatCommaSeparatedFields to setpublic void setFormatReadableMemoryData(boolean formatReadableMemoryData)
formatReadableMemoryData
- The formatReadableMemoryData to setpublic void setFormatReadableThreadData(boolean formatReadableThreadData)
formatReadableThreadData
- The formatReadableThreadData to setpublic void setFormatToTrace(boolean formatToTrace)
formatToTrace
- The formatToTrace to set
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |