org.apache.tomcat.util.buf
public final class TimeStamp extends Object implements Serializable
| Constructor Summary | |
|---|---|
| TimeStamp() | |
| Method Summary | |
|---|---|
| long | getCreationTime() |
| int | getId() Each object can have an unique id, similar with name but
providing faster access ( array vs. hashtable lookup ) |
| long | getLastAccessedTime() |
| long | getMaxInactiveInterval() Inactive interval in millis - the time is computed
in millis, convert to secs in the upper layer |
| MessageBytes | getName() Return the "name" of the timestamp. |
| Object | getParent() |
| long | getThisAccessedTime() |
| boolean | isNew() |
| boolean | isValid() |
| void | recycle() |
| void | setCreationTime(long time) |
| void | setId(int id) |
| void | setMaxInactiveInterval(long interval) |
| void | setNew(boolean isNew) |
| void | setParent(Object o) Returns the owner of this stamp ( the object that is
time-stamped ).
|
| void | setValid(boolean isValid) |
| void | touch(long time)
Access notification. |