ISessionInfoVisitorpublic class SessionInfoStore extends java.lang.Object implements ISessionInfoVisitor
SessionInfo objects. A
instance of this class is not thread safe.| Constructor | Description |
|---|---|
SessionInfoStore() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(ISessionInfoVisitor visitor) |
Writes all contained
SessionInfo objects into the given visitor. |
java.util.List<SessionInfo> |
getInfos() |
Returns all
SessionInfo objects currently contained in the store. |
SessionInfo |
getMerged(java.lang.String id) |
Returns a new session info with the given id that contains a merged
version from all contained version.
|
boolean |
isEmpty() |
Tests whether the store is empty.
|
void |
visitSessionInfo(SessionInfo info) |
Provides session information for the subsequent execution data calls.
|
public boolean isEmpty()
true if the store is emptypublic java.util.List<SessionInfo> getInfos()
SessionInfo objects currently contained in the store.
The info objects are ordered by its natural ordering (i.e. by the dump
time stamp).SessionInfo objectspublic SessionInfo getMerged(java.lang.String id)
0.id - identifier for the merged session infoSessionInfo objectpublic void accept(ISessionInfoVisitor visitor)
SessionInfo objects into the given visitor.
The info objects are emitted in chronological order by dump timestamp.visitor - visitor to emit SessionInfo objects topublic void visitSessionInfo(SessionInfo info)
ISessionInfoVisitorvisitSessionInfo in interface ISessionInfoVisitorinfo - session informationCopyright © 2018. All rights reserved.