com.caucho.server.cluster
Class StoreAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.server.cluster.StoreAdmin
All Implemented Interfaces:
ManagedObjectMXBean, PersistentStoreMXBean
Direct Known Subclasses:
ClusterStoreAdmin

public class StoreAdmin
extends AbstractManagedObject
implements PersistentStoreMXBean


Constructor Summary
protected StoreAdmin(StoreManager manager)
           
 
Method Summary
 long getLoadCountTotal()
          Returns the total objects loaded.
 long getLoadFailCountTotal()
          Returns the objects which failed to load.
 java.lang.String getName()
          The JMX name property of the mbean.
 long getObjectCount()
          Returns the object count.
 long getSaveCountTotal()
          Returns the total objects saved.
 long getSaveFailCountTotal()
          Returns the objects which failed to save.
 java.lang.String getStoreType()
          Returns the store type.
 java.lang.String getType()
          The JMX type of this MBean, defaults to the prefix of the FooMXBean..
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, registerSelf, 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
 

Constructor Detail

StoreAdmin

protected StoreAdmin(StoreManager manager)
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

getType

public java.lang.String getType()
Description copied from class: AbstractManagedObject
The JMX type of this MBean, defaults to the prefix of the FooMXBean..

Specified by:
getType in interface ManagedObjectMXBean
Overrides:
getType in class AbstractManagedObject

getStoreType

public java.lang.String getStoreType()
Description copied from interface: PersistentStoreMXBean
Returns the store type.

Specified by:
getStoreType in interface PersistentStoreMXBean

getObjectCount

public long getObjectCount()
Returns the object count.

Specified by:
getObjectCount in interface PersistentStoreMXBean

getLoadCountTotal

public long getLoadCountTotal()
Returns the total objects loaded.

Specified by:
getLoadCountTotal in interface PersistentStoreMXBean

getLoadFailCountTotal

public long getLoadFailCountTotal()
Returns the objects which failed to load.

Specified by:
getLoadFailCountTotal in interface PersistentStoreMXBean

getSaveCountTotal

public long getSaveCountTotal()
Returns the total objects saved.

Specified by:
getSaveCountTotal in interface PersistentStoreMXBean

getSaveFailCountTotal

public long getSaveFailCountTotal()
Returns the objects which failed to save.

Specified by:
getSaveFailCountTotal in interface PersistentStoreMXBean

toString

public java.lang.String toString()
Overrides:
toString in class AbstractManagedObject