当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
SnapshotRecordingMonitor (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.monitor
Class SnapshotRecordingMonitor
java.lang.Object
org.jboss.monitor.SnapshotRecordingMonitor
- All Implemented Interfaces:
- javax.management.MBeanRegistration, Runnable, SnapshotRecordingMonitorMBean
- public class SnapshotRecordingMonitor
- extends Object
- implements Runnable, SnapshotRecordingMonitorMBean, javax.management.MBeanRegistration
Comment
- Version:
- $Revision: 1.2 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.jboss.logging.Logger log
monitorName
protected String monitorName
observedObject
protected javax.management.ObjectName observedObject
attribute
protected String attribute
recording
protected boolean recording
period
protected long period
history
protected ArrayList history
startTime
protected long startTime
endTime
protected long endTime
mbeanServer
protected javax.management.MBeanServer mbeanServer
SnapshotRecordingMonitor
public SnapshotRecordingMonitor()
startMonitorThread
protected void startMonitorThread()
getMonitorName
public String getMonitorName()
- Specified by:
getMonitorName
in interface SnapshotRecordingMonitorMBean
setMonitorName
public void setMonitorName(String name)
- Specified by:
setMonitorName
in interface SnapshotRecordingMonitorMBean
getObservedObject
public javax.management.ObjectName getObservedObject()
- Specified by:
getObservedObject
in interface SnapshotRecordingMonitorMBean
setObservedObject
public void setObservedObject(javax.management.ObjectName oname)
- Specified by:
setObservedObject
in interface SnapshotRecordingMonitorMBean
getObservedAttribute
public String getObservedAttribute()
- Specified by:
getObservedAttribute
in interface SnapshotRecordingMonitorMBean
setObservedAttribute
public void setObservedAttribute(String attr)
- Specified by:
setObservedAttribute
in interface SnapshotRecordingMonitorMBean
isRecording
public boolean isRecording()
- Specified by:
isRecording
in interface SnapshotRecordingMonitorMBean
setRecording
public void setRecording(boolean start)
getPeriod
public long getPeriod()
- Specified by:
getPeriod
in interface SnapshotRecordingMonitorMBean
setPeriod
public void setPeriod(long period)
- Specified by:
setPeriod
in interface SnapshotRecordingMonitorMBean
getData
public ArrayList getData()
- Specified by:
getData
in interface SnapshotRecordingMonitorMBean
clearData
public void clearData()
- Specified by:
clearData
in interface SnapshotRecordingMonitorMBean
startSnapshot
public void startSnapshot()
- Specified by:
startSnapshot
in interface SnapshotRecordingMonitorMBean
endSnapshot
public void endSnapshot()
- Specified by:
endSnapshot
in interface SnapshotRecordingMonitorMBean
getStartTime
public long getStartTime()
- Specified by:
getStartTime
in interface SnapshotRecordingMonitorMBean
getEndTime
public long getEndTime()
- Specified by:
getEndTime
in interface SnapshotRecordingMonitorMBean
run
public void run()
- Specified by:
run
in interface Runnable
preRegister
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName objectName)
throws Exception
- Specified by:
preRegister
in interface javax.management.MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister
in interface javax.management.MBeanRegistration
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface javax.management.MBeanRegistration
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.