public class SessionInfo extends Object implements Comparable<SessionInfo>
SessionInfo instances can be sorted by dump date through the
Comparable interface.| Constructor and Description |
|---|
SessionInfo(String id,
long start,
long dump)
Create a immutable session info with the given data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SessionInfo other) |
long |
getDumpTimeStamp() |
String |
getId() |
long |
getStartTimeStamp() |
String |
toString() |
public SessionInfo(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 String getId()
public long getStartTimeStamp()
public long getDumpTimeStamp()
public int compareTo(SessionInfo other)
compareTo in interface Comparable<SessionInfo>Copyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.