|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--javapool.util.PoolObjectProperties
Used to maintain a pool objects properties
| Constructor Summary | |
PoolObjectProperties()
Constructor will record the time this object was created. |
|
| Method Summary | |
void |
checkIn()
Makes changes to properties to reflect a not busy status |
void |
checkOut()
Makes changes to properties to reflect a busy status |
long |
getCreationTime()
Get the time (in millisecods) when this object was created. |
int |
getDeadPingCount()
Returns the current value of the ping dead counter for a pool object. |
long |
getLastIssueTime()
Returns the time when the Pool Object was issued. |
long |
getLastPingTime()
Returns the time when the object was last pinged. |
void |
incDeadPingCount()
Increments ping dead counter for a pool object. |
boolean |
isBusy()
Returns the status of the object. |
void |
resetDeadPingCount()
Reset the value of the pind dead counter for a pool object. |
void |
setLastPingTime()
Sets the lastPingTime variable to the current time. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PoolObjectProperties()
| Method Detail |
public long getCreationTime()
public boolean isBusy()
public void checkOut()
public void checkIn()
public long getLastIssueTime()
public void incDeadPingCount()
public int getDeadPingCount()
public void resetDeadPingCount()
public void setLastPingTime()
public long getLastPingTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||