|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cache.ehcache.management.impl.EntityStats
public class EntityStats
When we only support Java 6, all of this OpenMBean scaffolding can be removed in favor or MXBeans.
Field Summary | |
---|---|
protected long |
deleteCount
deleteCount |
protected long |
fetchCount
fetchCount |
protected long |
insertCount
insertCount |
protected long |
loadCount
loadCount |
protected String |
name
name |
protected long |
optimisticFailureCount
optimisticFailureCount |
protected String |
shortName
shortName |
protected long |
updateCount
updateCount |
Constructor Summary | |
---|---|
EntityStats(CompositeData cData)
|
|
EntityStats(String name)
|
|
EntityStats(String name,
EntityStatistics src)
|
Method Summary | |
---|---|
void |
add(EntityStats stats)
|
static EntityStats[] |
fromTabularData(TabularData tabularData)
fromTabularData |
long |
getDeleteCount()
getDeleteCount |
long |
getFetchCount()
getFetchCount |
long |
getInsertCount()
getInsertCount |
long |
getLoadCount()
getLoadCount |
String |
getName()
getName |
long |
getOptimisticFailureCount()
getOptimisticFailureCount |
String |
getShortName()
getShortName |
long |
getUpdateCount()
getUpdateCount |
static TabularData |
newTabularDataInstance()
newTabularDataInstance |
CompositeData |
toCompositeData()
toCompositeData |
String |
toString()
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String name
protected final String shortName
protected long loadCount
protected long updateCount
protected long insertCount
protected long deleteCount
protected long fetchCount
protected long optimisticFailureCount
Constructor Detail |
---|
public EntityStats(String name)
name
- public EntityStats(String name, EntityStatistics src)
name
- src
- public EntityStats(CompositeData cData)
cData
- Method Detail |
---|
public void add(EntityStats stats)
stats
- public String toString()
toString
in class Object
public String getName()
public String getShortName()
public long getLoadCount()
public long getUpdateCount()
public long getInsertCount()
public long getDeleteCount()
public long getFetchCount()
public long getOptimisticFailureCount()
public CompositeData toCompositeData()
public static TabularData newTabularDataInstance()
public static EntityStats[] fromTabularData(TabularData tabularData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |