| Modifier and Type | Field and Description |
|---|---|
| private long | |
| pack-priv int | |
| private boolean | |
| private boolean | |
| private long | |
| private long | |
| pack-priv MessageBytes | |
| pack-priv Object | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public int | getId()
Each object can have an unique id, similar with name but providing faster access ( array vs. hashtable lookup ) |
| public long | |
| public long | getMaxInactiveInterval()
Inactive interval in millis - the time is computed in millis, convert to secs in the upper layer |
| public MessageBytes | |
| public Object | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| creationTime | back to summary |
|---|---|
| private long creationTime | |
| id | back to summary |
|---|---|
| pack-priv int id | |
| isNew | back to summary |
|---|---|
| private boolean isNew | |
| isValid | back to summary |
|---|---|
| private boolean isValid | |
| lastAccessedTime | back to summary |
|---|---|
| private long lastAccessedTime | |
| maxInactiveInterval | back to summary |
|---|---|
| private long maxInactiveInterval | |
| name | back to summary |
|---|---|
| pack-priv MessageBytes name | |
| parent | back to summary |
|---|---|
| pack-priv Object parent | |
| thisAccessedTime | back to summary |
|---|---|
| private long thisAccessedTime | |
| TimeStamp | back to summary |
|---|---|
| public TimeStamp() | |
| getCreationTime | back to summary |
|---|---|
| public long getCreationTime() | |
| getId | back to summary |
|---|---|
| public int getId() Each object can have an unique id, similar with name but providing faster access ( array vs. hashtable lookup ) | |
| getLastAccessedTime | back to summary |
|---|---|
| public long getLastAccessedTime() | |
| getMaxInactiveInterval | back to summary |
|---|---|
| public long getMaxInactiveInterval() Inactive interval in millis - the time is computed in millis, convert to secs in the upper layer | |
| getName | back to summary |
|---|---|
| public MessageBytes getName() Return the "name" of the timestamp. This can be used to associate unique identifier with each timestamped object. The name is a MessageBytes - i.e. a modifiable byte[] or char[]. | |
| getParent | back to summary |
|---|---|
| public Object getParent() | |
| isNew | back to summary |
|---|---|
| public boolean isNew() | |
| isValid | back to summary |
|---|---|
| public boolean isValid() | |
| recycle | back to summary |
|---|---|
| public void recycle() | |
| setCreationTime | back to summary |
|---|---|
| public void setCreationTime(long time) | |
| setId | back to summary |
|---|---|
| public void setId(int id) | |
| setMaxInactiveInterval | back to summary |
|---|---|
| public void setMaxInactiveInterval(long interval) | |
| setNew | back to summary |
|---|---|
| public void setNew(boolean isNew) | |
| setParent | back to summary |
|---|---|
| public void setParent(Object o) Returns the owner of this stamp ( the object that is time-stamped ). For a | |
| setValid | back to summary |
|---|---|
| public void setValid(boolean isValid) | |
| touch | back to summary |
|---|---|
| public void touch(long time) Access notification. This method takes a time parameter in order to allow callers to efficiently manage expensive calls to System.currentTimeMillis() | |