|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
net.spy.util.TTL
net.spy.db.DBTTL
public class DBTTL
Used to track checked out DB connections to report on connections that have been checked out longer than we expect them to be.
| Constructor Summary | |
|---|---|
DBTTL(long ttl)
Get an instance of DBTTL. |
|
DBTTL(long ttl,
Object extra)
Get an instance of DBTTL with an extra object. |
|
| Method Summary | |
|---|---|
protected void |
doReport()
Report DB specific message. |
String |
toString()
String me. |
| Methods inherited from class net.spy.util.TTL |
|---|
close, getExtraInfo, getLogger, getMessageFromBundle, getReportInterval, getTTL, hasReported, isClosed, isExpired, reportWithFormat, reset, run, setExtraInfo, setMaxReports, setReportInterval |
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBTTL(long ttl)
public DBTTL(long ttl,
Object extra)
| Method Detail |
|---|
public String toString()
toString in class TTLprotected void doReport()
doReport in class TTL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||