| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String | Returns: The session id qualified with the worker nameThe id of the session id, Request The request that for the session (or null) request)Get an extended id for a session. |
| public String | |
| public HouseKeeper | |
| public String | |
| public void | invalidateAll(String
the session id id)Invalidate all sessions on all contexts that share the same id. |
| public boolean | |
| public String | Returns: the new session idthe request asking for a new session request, String the session id requested by the session requestedId, long the timestamp for when the session was created created)Create a new Session ID. |
| public String | Returns: the new session idthe old plain session id oldId, String the old fully qualified id oldExtendedId, Request the request containing the session request)Change the existing session id. |
| public void | |
| public void | setSessionHouseKeeper(HouseKeeper
the housekeeper for doing scavenging houseKeeper)Set the housekeeper for doing scavenging. |
| expireAll | back to summary |
|---|---|
| public void expireAll(String id) Expire all sessions on all contexts that share the same id.
| |
| getExtendedId | back to summary |
|---|---|
| public String getExtendedId(String id, Request request) Get an extended id for a session. An extended id contains the workername as a suffix. | |
| getId | back to summary |
|---|---|
| public String getId(String qualifiedId) Get just the session id from an id that includes the worker name as a suffix. Strip node identifier from a located session ID. | |
| getSessionHouseKeeper | back to summary |
|---|---|
public HouseKeeper getSessionHouseKeeper()
| |
| getWorkerName | back to summary |
|---|---|
public String getWorkerName()
| |
| invalidateAll | back to summary |
|---|---|
| public void invalidateAll(String id) Invalidate all sessions on all contexts that share the same id.
| |
| isIdInUse | back to summary |
|---|---|
public boolean isIdInUse(String id)
| |
| newSessionId | back to summary |
|---|---|
| public String newSessionId(Request request, String requestedId, long created) Create a new Session ID. | |
| renewSessionId | back to summary |
|---|---|
| public String renewSessionId(String oldId, String oldExtendedId, Request request) Change the existing session id. | |
| scavenge | back to summary |
|---|---|
| public void scavenge() | |
| setSessionHouseKeeper | back to summary |
|---|---|
| public void setSessionHouseKeeper(HouseKeeper houseKeeper) Set the housekeeper for doing scavenging.
| |