public class UserConnectionCache
extends java.lang.Object
Constructor and Description |
---|
UserConnectionCache() |
Modifier and Type | Method and Description |
---|---|
UserConnection |
add(java.lang.String ySessionHandle,
Participant p,
java.lang.String jSessionID) |
boolean |
containsParticipant(java.lang.String pid) |
boolean |
containsSessionHandle(java.lang.String handle) |
boolean |
containsSessionID(java.lang.String id) |
java.util.Set<Participant> |
getActiveParticipants() |
int |
getAdminSessionCount() |
java.util.Collection<UserConnection> |
getAllSessions() |
Participant |
getParticipantWithSessionHandle(java.lang.String handle) |
int |
getSessionCount() |
java.lang.String |
getSessionHandle(Participant p) |
int |
getUserAdminSessionCount() |
int |
getUserSessionCount() |
UserConnection |
removeParticipantSession(Participant p) |
UserConnection |
removeSessionHandle(java.lang.String id) |
UserConnection |
removeSessionID(java.lang.String id) |
public UserConnection add(java.lang.String ySessionHandle, Participant p, java.lang.String jSessionID)
public UserConnection removeSessionID(java.lang.String id)
public UserConnection removeSessionHandle(java.lang.String id)
public UserConnection removeParticipantSession(Participant p)
public java.util.Set<Participant> getActiveParticipants()
public java.util.Collection<UserConnection> getAllSessions()
public int getSessionCount()
public int getUserSessionCount()
public int getAdminSessionCount()
public int getUserAdminSessionCount()
public java.lang.String getSessionHandle(Participant p)
public Participant getParticipantWithSessionHandle(java.lang.String handle)
public boolean containsSessionHandle(java.lang.String handle)
public boolean containsSessionID(java.lang.String id)
public boolean containsParticipant(java.lang.String pid)
Copyright © 2004-2014 The YAWL Foundation.