com.caucho.server.admin
Class SnapshotServiceAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.server.admin.SnapshotServiceAdmin
All Implemented Interfaces:
ManagedObjectMXBean, SnapshotServiceMXBean

public class SnapshotServiceAdmin
extends AbstractManagedObject
implements SnapshotServiceMXBean

service for managing snapshots.


Field Summary
static java.lang.String LOG_SNAPSHOT_BEGIN
           
static java.lang.String LOG_SNAPSHOT_END
           
 
Constructor Summary
SnapshotServiceAdmin()
           
 
Method Summary
 java.lang.String getName()
          The JMX name property of the mbean.
 void snapshotHealth()
           
 void snapshotHeap()
           
 void snapshotJmx()
           
 void snapshotProfile()
           
 void snapshotProfile(long period, long samplingRate, int stackDepth)
           
 void snapshotThreadDump()
           
 void startProfile(long samplingRate, int stackDepth)
           
 void stopProfile()
           
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName, getType
 

Field Detail

LOG_SNAPSHOT_BEGIN

public static final java.lang.String LOG_SNAPSHOT_BEGIN
See Also:
Constant Field Values

LOG_SNAPSHOT_END

public static final java.lang.String LOG_SNAPSHOT_END
See Also:
Constant Field Values
Constructor Detail

SnapshotServiceAdmin

public SnapshotServiceAdmin()
Method Detail

getName

public java.lang.String getName()
Description copied from class: AbstractManagedObject
The JMX name property of the mbean.

Specified by:
getName in interface ManagedObjectMXBean
Specified by:
getName in class AbstractManagedObject

snapshotJmx

public void snapshotJmx()
Specified by:
snapshotJmx in interface SnapshotServiceMXBean

snapshotHeap

public void snapshotHeap()
Specified by:
snapshotHeap in interface SnapshotServiceMXBean

snapshotThreadDump

public void snapshotThreadDump()
Specified by:
snapshotThreadDump in interface SnapshotServiceMXBean

snapshotHealth

public void snapshotHealth()
Specified by:
snapshotHealth in interface SnapshotServiceMXBean

startProfile

public void startProfile(long samplingRate,
                         int stackDepth)
Specified by:
startProfile in interface SnapshotServiceMXBean

stopProfile

public void stopProfile()
Specified by:
stopProfile in interface SnapshotServiceMXBean

snapshotProfile

public void snapshotProfile(long period,
                            long samplingRate,
                            int stackDepth)
Specified by:
snapshotProfile in interface SnapshotServiceMXBean

snapshotProfile

public void snapshotProfile()
Specified by:
snapshotProfile in interface SnapshotServiceMXBean