|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.controller.cache.CacheStatistics
This class handles the statistics for request caches.
Field Summary | |
private Stats |
create
|
private Stats |
delete
|
private Stats |
drop
|
private Stats |
hits
|
private Stats |
insert
|
private Stats |
remove
|
private Stats |
select
|
private Stats |
unknown
|
private Stats |
update
|
Constructor Summary | |
CacheStatistics()
Creates a new CacheStatistics object. |
Method Summary | |
void |
addCreate()
Increments the create count. |
void |
addDelete()
Increments the delete count. |
void |
addDrop()
Increments the drop count. |
void |
addHits()
Increments the hits count. |
void |
addInsert()
Increments the insert count. |
void |
addRemove()
Increments the remove count. |
void |
addSelect()
Increments the select count. |
void |
addUnknown()
Increments the unkwnown count. |
void |
addUpdate()
Increments the update count. |
int |
getCreate()
Returns the create. |
int |
getDelete()
Returns the delete. |
int |
getDrop()
Returns the drop. |
int |
getHits()
Returns the hits. |
java.lang.String |
getInformation()
Get information about the statistics |
int |
getInsert()
Returns the insert. |
int |
getRemove()
Returns the remove. |
int |
getSelect()
Returns the select. |
int |
getUnknown()
Returns the unknown. |
int |
getUpdate()
Returns the update. |
void |
reset()
Resets all stats to zero. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Stats select
private Stats hits
private Stats insert
private Stats update
private Stats delete
private Stats unknown
private Stats remove
private Stats create
private Stats drop
Constructor Detail |
public CacheStatistics()
Method Detail |
public void reset()
public int getCreate()
int
valuepublic int getDelete()
int
valuepublic int getDrop()
int
valuepublic int getHits()
int
valuepublic int getInsert()
int
valuepublic int getRemove()
int
valuepublic int getSelect()
int
valuepublic int getUnknown()
int
valuepublic int getUpdate()
int
valuepublic void addCreate()
public void addDelete()
public void addDrop()
public void addHits()
public void addInsert()
public void addRemove()
public void addSelect()
public void addUnknown()
public void addUpdate()
public java.lang.String getInformation()
String
containing information
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |