|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.resource.internal.pool.PoolItemStats
public class 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 |
List<Map<String,Object>> |
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 |
List<Map<String,Object>> |
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 |
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 List<Map<String,Object>> getOpenerThreadInfos()
public List<Map<String,Object>> getCloserThreadInfos()
public void addOpenerThreadInfos()
public void addCloserThreadInfos()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |