java.lang.Comparable<SessionInfo>public class SessionInfo extends java.lang.Object implements java.lang.Comparable<SessionInfo>
SessionInfo instances can be sorted by dump date through the
Comparable interface.| Constructor | Description |
|---|---|
SessionInfo(java.lang.String id,
long start,
long dump) |
Create a immutable session info with the given data.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(SessionInfo other) |
|
long |
getDumpTimeStamp() |
|
java.lang.String |
getId() |
|
long |
getStartTimeStamp() |
|
java.lang.String |
toString() |
public SessionInfo(java.lang.String id,
long start,
long dump)
id - arbitrary session identifier, must not be nullstart - the epoc based time stamp when execution data recording has
been starteddump - the epoc based time stamp when execution data was collectedpublic java.lang.String getId()
public long getStartTimeStamp()
public long getDumpTimeStamp()
public int compareTo(SessionInfo other)
compareTo in interface java.lang.Comparable<SessionInfo>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All rights reserved.