class SessionRecord extends Object
SessionsDB.
Contains the destination, properties, and handler for a session.| Constructor and Description |
|---|
SessionRecord(SessionRecord in)Copy constructor. |
SessionRecord(String dest,
Properties props,
SAMv3Handler handler)Create a new session record. |
| Modifier and Type | Method and Description |
|---|---|
void | createThreadGroup(String name)Create a thread group for this session if one does not already exist. |
String | getDest()Get the base64-encoded destination. |
SAMv3Handler | getHandler()Get the SAM handler for this session. |
(package private) long | getLastAccessed() |
Properties | getProps()Get a copy of the session properties. |
ThreadGroup | getThreadGroup()Get the thread group for this session. |
(package private) void | touch()Update the last-accessed timestamp. |
public SessionRecord(SessionRecord in)
in - the session record to copypublic SessionRecord(String dest, Properties props, SAMv3Handler handler)
dest - base64-encoded destinationprops - session propertieshandler - the SAM handler for this sessionpublic void createThreadGroup(String name)
name - the name of the thread grouppublic String getDest()
public SAMv3Handler getHandler()
long getLastAccessed()
public Properties getProps()
public ThreadGroup getThreadGroup()
void touch()