|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.service.data.store.DataStoreStats
class DataStoreStats
Implementation of JMX MBean for the data store.
| Field Summary | |
|---|---|
(package private) ProfileOperation |
createObjectOp
|
(package private) ProfileOperation |
getBindingOp
|
(package private) ProfileOperation |
getClassIdOp
|
(package private) ProfileOperation |
getClassInfoOp
|
(package private) ProfileOperation |
getObjectForUpdateOp
|
(package private) ProfileOperation |
getObjectOp
|
(package private) ProfileOperation |
markForUpdateOp
|
(package private) ProfileOperation |
nextBoundNameOp
|
(package private) ProfileOperation |
nextObjectIdOp
|
(package private) ProfileCounter |
readBytesCounter
Records the number of bytes read by the getObject method. |
(package private) ProfileSample |
readBytesSample
Records a list of the number of bytes read by calls to the getObject method. |
(package private) ProfileCounter |
readObjectsCounter
Records the number of objects read by the getObject method. |
(package private) ProfileOperation |
removeBindingOp
|
(package private) ProfileOperation |
removeObjectOp
|
(package private) ProfileOperation |
setBindingOp
|
(package private) ProfileOperation |
setObjectOp
|
(package private) ProfileOperation |
setObjectsOp
|
(package private) ProfileCounter |
writtenBytesCounter
Records the number of bytes written by the setObject and setObjects methods. |
(package private) ProfileSample |
writtenBytesSample
Records a list of the number of bytes written by calls to the setObject and setObjects methods. |
(package private) ProfileCounter |
writtenObjectsCounter
Records the number of objects written by the setObject and setObjects methods. |
| Fields inherited from interface com.sun.sgs.management.DataStoreStatsMXBean |
|---|
MXBEAN_NAME |
| Constructor Summary | |
|---|---|
DataStoreStats(ProfileCollector collector)
Create a data store statistics object. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final ProfileOperation createObjectOp
final ProfileOperation markForUpdateOp
final ProfileOperation getObjectOp
final ProfileOperation getObjectForUpdateOp
final ProfileOperation setObjectOp
final ProfileOperation setObjectsOp
final ProfileOperation removeObjectOp
final ProfileOperation getBindingOp
final ProfileOperation setBindingOp
final ProfileOperation removeBindingOp
final ProfileOperation nextBoundNameOp
final ProfileOperation getClassIdOp
final ProfileOperation getClassInfoOp
final ProfileOperation nextObjectIdOp
final ProfileCounter readBytesCounter
final ProfileCounter readObjectsCounter
final ProfileCounter writtenBytesCounter
final ProfileCounter writtenObjectsCounter
final ProfileSample readBytesSample
final ProfileSample writtenBytesSample
| Constructor Detail |
|---|
DataStoreStats(ProfileCollector collector)
collector - the profile collector used to create profiling
objects and register the MBean with JMX| Method Detail |
|---|
public long getGetBindingCalls()
getBinding
has been called.
getGetBindingCalls in interface DataStoreStatsMXBeangetBinding has been calledpublic long getGetClassIdCalls()
getClassId
has been called.
getGetClassIdCalls in interface DataStoreStatsMXBeangetClassId has been calledpublic long getGetClassInfoCalls()
getClassInfo
has been called.
getGetClassInfoCalls in interface DataStoreStatsMXBeangetClassInfo has been calledpublic long getCreateObjectCalls()
createObject
has been called.
getCreateObjectCalls in interface DataStoreStatsMXBeancreateObject has been calledpublic long getMarkForUpdateCalls()
markForUpdate
has been called.
getMarkForUpdateCalls in interface DataStoreStatsMXBeanmarkForUpdate has been calledpublic long getNextObjectIdCalls()
nextObjectId
has been called.
getNextObjectIdCalls in interface DataStoreStatsMXBeannextObjectId has been calledpublic long getGetObjectCalls()
getObject
has been called with a false argument.
getGetObjectCalls in interface DataStoreStatsMXBeangetObject has been calledpublic long getGetObjectForUpdateCalls()
getObject
has been called with a true argument.
getGetObjectForUpdateCalls in interface DataStoreStatsMXBeangetObject has been calledpublic long getReadBytesCount()
getReadBytesCount in interface DataStoreStatsMXBeanpublic long getReadObjectsCount()
getReadObjectsCount in interface DataStoreStatsMXBeanpublic long getWrittenBytesCount()
getWrittenBytesCount in interface DataStoreStatsMXBeanpublic long getWrittenObjectsCount()
getWrittenObjectsCount in interface DataStoreStatsMXBeanpublic long getRemoveBindingCalls()
removeBinding
has been called.
getRemoveBindingCalls in interface DataStoreStatsMXBeanremoveBinding has been calledpublic long getNextBoundNameCalls()
nextBoundName
has been called.
getNextBoundNameCalls in interface DataStoreStatsMXBeannextBoundName has been calledpublic long getRemoveObjectCalls()
removeObject
has been called.
getRemoveObjectCalls in interface DataStoreStatsMXBeanremoveObject has been calledpublic long getSetBindingCalls()
setBinding
has been called.
getSetBindingCalls in interface DataStoreStatsMXBeansetBinding has been calledpublic long getSetObjectCalls()
setObject
has been called.
getSetObjectCalls in interface DataStoreStatsMXBeansetObject has been calledpublic long getSetObjectsCalls()
setObjects has been called.
getSetObjectsCalls in interface DataStoreStatsMXBeansetObjects has been calledpublic double getAvgReadBytesSample()
getAvgReadBytesSample in interface DataStoreStatsMXBeanpublic double getAvgWrittenBytesSample()
getAvgWrittenBytesSample in interface DataStoreStatsMXBeanpublic long getMaxReadBytesSample()
getMaxReadBytesSample in interface DataStoreStatsMXBeanpublic long getMaxWrittenBytesSample()
getMaxWrittenBytesSample in interface DataStoreStatsMXBeanpublic long getMinReadBytesSample()
getMinReadBytesSample in interface DataStoreStatsMXBeanpublic long getMinWrittenBytesSample()
getMinWrittenBytesSample in interface DataStoreStatsMXBeanpublic double getSmoothingFactor()
getSmoothingFactor in interface DataStoreStatsMXBeanpublic void setSmoothingFactor(double smooth)
setSmoothingFactor in interface DataStoreStatsMXBeansmooth - the smoothing factorAggregateProfileSample.setSmoothingFactor(double)
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||