|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.resource.pool.api.PoolItemStats
public class PoolItemStats
This class holds information about each pool entry.
Constructor Summary | |
---|---|
PoolItemStats()
Default Constructor |
Method Summary | |
---|---|
long |
getMaxAgeTimeout()
Get the max age timeout |
long |
getMaxOpenTimeout()
Get the max open timeout |
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 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 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.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |