|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.resource.pool.api.PoolItemStats
This class holds information about each pool entry.
Constructor Summary | |
PoolItemStats()
Default Constructor |
Method Summary | |
void |
addCloserThreadInfos()
Keep thread stack trace of closer |
void |
addOpenerThreadInfos()
Keep thread stack trace of opener |
java.util.List |
getCloserThreadInfos()
|
long |
getCreationTime()
Get the creation time |
int |
getIdent()
Get an Ident to be used for Administration |
long |
getMaxAgeTimeout()
Get the max age timeout |
long |
getMaxOpenTimeout()
Get the max open timeout |
java.util.List |
getOpenerThreadInfos()
|
long |
getStartTime()
Get the start time |
long |
getTotalConnectionTime()
Get the total connection time |
int |
getUses()
Get the number of uses |
void |
incrementUses()
Increment the number of uses |
void |
setMaxAgeTimeout(long pTime)
Set the max age timeout |
void |
setMaxOpenTimeout(long pTime)
Set the max open timeout |
void |
setStartTime(long pTime)
Set the start time |
void |
setTotalConnectionTime(long pTime)
Set the total connection time |
java.lang.String |
toString()
String representing this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PoolItemStats()
Method Detail |
public int getIdent()
public long getMaxAgeTimeout()
public void setMaxAgeTimeout(long pTime)
pTime
- long max age timeoutpublic long getMaxOpenTimeout()
public void setMaxOpenTimeout(long pTime)
pTime
- long max open timeoutpublic long getCreationTime()
public long getStartTime()
public void setStartTime(long pTime)
pTime
- long start timepublic long getTotalConnectionTime()
public void setTotalConnectionTime(long pTime)
pTime
- long total connection timepublic int getUses()
public void incrementUses()
public java.util.List getOpenerThreadInfos()
public java.util.List getCloserThreadInfos()
public void addOpenerThreadInfos()
public void addCloserThreadInfos()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |