com.sun.sgs.management
Interface DataStoreStatsMXBean


public interface DataStoreStatsMXBean

The management interface for data store information.

An instance implementing this MBean can be obtained from the getPlatformMBeanServer method.

The ObjectName for uniquely identifying this MBean is "com.sun.sgs.service:type=DataStoreStats".


Field Summary
static String MXBEAN_NAME
          The name for uniquely identifying this MBean.
 
Method Summary
 double getAvgReadBytesSample()
          Returns the average read byte sample value, smoothed with the smoothing factor.
 double getAvgWrittenBytesSample()
          Returns the average written byte sample value, smoothed with the smoothing factor.
 long getCreateObjectCalls()
          Returns the number of times createObject has been called.
 long getGetBindingCalls()
          Returns the number of times getBinding has been called.
 long getGetClassIdCalls()
          Returns the number of times getClassId has been called.
 long getGetClassInfoCalls()
          Returns the number of times getClassInfo has been called.
 long getGetObjectCalls()
          Returns the number of times getObject has been called with a false argument.
 long getGetObjectForUpdateCalls()
          Returns the number of times getObject has been called with a true argument.
 long getMarkForUpdateCalls()
          Returns the number of times markForUpdate has been called.
 long getMaxReadBytesSample()
          Returns the maximum read byte sample value.
 long getMaxWrittenBytesSample()
          Returns the maximum written byte sample value.
 long getMinReadBytesSample()
          Returns the mimimum read byte sample value.
 long getMinWrittenBytesSample()
          Returns the mimimum written byte sample value.
 long getNextBoundNameCalls()
          Returns the number of times nextBoundName has been called.
 long getNextObjectIdCalls()
          Returns the number of times nextObjectId has been called.
 long getReadBytesCount()
          Returns the total number of bytes read from the data store.
 long getReadObjectsCount()
          Returns the total number of objects read from the data store.
 long getRemoveBindingCalls()
          Returns the number of times removeBinding has been called.
 long getRemoveObjectCalls()
          Returns the number of times removeObject has been called.
 long getSetBindingCalls()
          Returns the number of times setBinding has been called.
 long getSetObjectCalls()
          Returns the number of times setObject has been called.
 long getSetObjectsCalls()
          Returns the number of times setObjects has been called.
 double getSmoothingFactor()
          Returns the smoothing factor in effect for the data store aggregate statistics.
 long getWrittenBytesCount()
          Returns the total number of bytes read written to data store.
 long getWrittenObjectsCount()
          Returns the total number of objects read written to data store.
 void setSmoothingFactor(double smooth)
          Sets the smoothing factor in effect for the data store aggregate statistics.
 

Field Detail

MXBEAN_NAME

static final String MXBEAN_NAME
The name for uniquely identifying this MBean.

See Also:
Constant Field Values
Method Detail

getCreateObjectCalls

long getCreateObjectCalls()
Returns the number of times createObject has been called.

Returns:
the number of times createObject has been called

getGetBindingCalls

long getGetBindingCalls()
Returns the number of times getBinding has been called.

Returns:
the number of times getBinding has been called

getGetClassIdCalls

long getGetClassIdCalls()
Returns the number of times getClassId has been called.

Returns:
the number of times getClassId has been called

getGetClassInfoCalls

long getGetClassInfoCalls()
Returns the number of times getClassInfo has been called.

Returns:
the number of times getClassInfo has been called

getGetObjectCalls

long getGetObjectCalls()
Returns the number of times getObject has been called with a false argument.

Returns:
the number of times getObject has been called

getGetObjectForUpdateCalls

long getGetObjectForUpdateCalls()
Returns the number of times getObject has been called with a true argument.

Returns:
the number of times getObject has been called

getMarkForUpdateCalls

long getMarkForUpdateCalls()
Returns the number of times markForUpdate has been called.

Returns:
the number of times markForUpdate has been called

getNextBoundNameCalls

long getNextBoundNameCalls()
Returns the number of times nextBoundName has been called.

Returns:
the number of times nextBoundName has been called

getNextObjectIdCalls

long getNextObjectIdCalls()
Returns the number of times nextObjectId has been called.

Returns:
the number of times nextObjectId has been called

getRemoveBindingCalls

long getRemoveBindingCalls()
Returns the number of times removeBinding has been called.

Returns:
the number of times removeBinding has been called

getRemoveObjectCalls

long getRemoveObjectCalls()
Returns the number of times removeObject has been called.

Returns:
the number of times removeObject has been called

getSetBindingCalls

long getSetBindingCalls()
Returns the number of times setBinding has been called.

Returns:
the number of times setBinding has been called

getSetObjectCalls

long getSetObjectCalls()
Returns the number of times setObject has been called.

Returns:
the number of times setObject has been called

getSetObjectsCalls

long getSetObjectsCalls()
Returns the number of times setObjects has been called.

Returns:
the number of times setObjects has been called

getReadBytesCount

long getReadBytesCount()
Returns the total number of bytes read from the data store.

Returns:
the total number of bytes read from the data store

getReadObjectsCount

long getReadObjectsCount()
Returns the total number of objects read from the data store.

Returns:
the total number of objects read from the data store

getWrittenBytesCount

long getWrittenBytesCount()
Returns the total number of bytes read written to data store.

Returns:
the total number of bytes read written to data store

getWrittenObjectsCount

long getWrittenObjectsCount()
Returns the total number of objects read written to data store.

Returns:
the total number of objects read written to data store

getSmoothingFactor

double getSmoothingFactor()
Returns the smoothing factor in effect for the data store aggregate statistics.

Returns:
the smoothing factor

setSmoothingFactor

void setSmoothingFactor(double smooth)
Sets the smoothing factor in effect for the data store aggregate statistics.

Parameters:
smooth - the smoothing factor
See Also:
AggregateProfileSample.setSmoothingFactor(double)

getMaxWrittenBytesSample

long getMaxWrittenBytesSample()
Returns the maximum written byte sample value.

Returns:
the maximum written byte sample value

getMinWrittenBytesSample

long getMinWrittenBytesSample()
Returns the mimimum written byte sample value.

Returns:
the mimimum written byte sample value

getAvgWrittenBytesSample

double getAvgWrittenBytesSample()
Returns the average written byte sample value, smoothed with the smoothing factor.

Returns:
the average written byte sample value.

getMaxReadBytesSample

long getMaxReadBytesSample()
Returns the maximum read byte sample value.

Returns:
the maximum read byte sample value

getMinReadBytesSample

long getMinReadBytesSample()
Returns the mimimum read byte sample value.

Returns:
the mimimum read byte sample value

getAvgReadBytesSample

double getAvgReadBytesSample()
Returns the average read byte sample value, smoothed with the smoothing factor.

Returns:
the average read byte sample value.

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved