public class RuntimeCache
extends java.lang.Object
Constructor and Description |
---|
RuntimeCache() |
Modifier and Type | Method and Description |
---|---|
protected Participant |
addChainedCase(java.lang.String caseID,
Participant p) |
protected void |
addClientCredentials(java.lang.String id,
java.lang.String password) |
protected CodeletRunner |
addCodeletRunner(java.lang.String itemID,
CodeletRunner runner) |
protected java.util.Map<java.lang.String,Element> |
addDataSchema(YSpecificationID specID,
java.lang.String schema) |
protected TaggedStringList |
addDeferredItemGroup(TaggedStringList group) |
protected void |
addDelayedCaseLaunch(DelayedLaunchRecord record) |
protected void |
addOrphanedItem(WorkItemRecord wir) |
protected void |
addSession(java.lang.String handle,
Participant p,
java.lang.String jSessionID) |
protected void |
addSession(java.lang.String handle,
java.lang.String jSessionID) |
protected void |
addSpecificationData(SpecificationData specData) |
protected void |
addTaskCompleter(Participant p,
WorkItemRecord wir) |
protected void |
addUserKey(Participant p) |
protected void |
cancelCodeletRunner(java.lang.String itemID) |
protected void |
cancelCodeletRunnersForCase(java.lang.String caseID) |
protected boolean |
checkServiceConnection(java.lang.String handle) |
protected void |
clearOrphanedItems() |
protected java.lang.String |
connectClient(java.lang.String userid,
java.lang.String password,
long timeOutSeconds) |
protected void |
deleteClientCredentials(java.lang.String id) |
protected Participant |
expireSession(java.lang.String jSessionID) |
protected java.lang.String |
getActiveParticipantsAsXML() |
int |
getAdminSessionCount() |
protected java.util.Set<java.lang.String> |
getChainedCaseIDs() |
java.util.Set<java.lang.String> |
getChainedCaseIDsForParticipant(Participant p) |
protected Participant |
getChainedParticipant(java.lang.String caseID) |
protected java.lang.String |
getClientPassword(java.lang.String id) |
protected java.util.Map<java.lang.String,Element> |
getDataSchemaMap(YSpecificationID specID) |
protected TaggedStringList |
getDeferredItemGroup(java.lang.String groupID) |
protected ResourceDataSet |
getOrgDataSet() |
protected java.util.List<WorkItemRecord> |
getOrphanedItems() |
protected java.lang.String |
getParticipantIDFromUserID(java.lang.String userID) |
protected Participant |
getParticipantWithSessionHandle(java.lang.String handle) |
int |
getSessionCount() |
protected java.lang.String |
getSessionHandle(Participant p) |
protected SpecificationData |
getSpecificationData(YSpecificationID specID) |
protected java.util.Set<Participant> |
getTaskCompleters(java.lang.String taskID,
java.lang.String caseID) |
int |
getUserAdminSessionCount() |
protected java.lang.String |
getUserIDForSessionHandle(java.lang.String handle) |
int |
getUserSessionCount() |
protected java.lang.String |
getWhoLaunchedCase(java.lang.String handle) |
protected boolean |
hasClientCredentials() |
protected boolean |
isActiveSession(java.lang.String jSessionID) |
protected boolean |
isChainedCase(java.lang.String caseID) |
protected boolean |
isChainedParticipant(Participant p) |
protected boolean |
isDeferredGroupHandled(java.lang.String caseID,
java.lang.String groupID) |
protected boolean |
isKnownUserID(java.lang.String userid) |
protected boolean |
isValidUserSession(java.lang.String handle) |
protected boolean |
logDelayedCaseLaunch(YSpecificationID specID,
java.lang.String caseID) |
protected void |
logout(java.lang.String handle) |
protected void |
refreshClientCredentials(java.util.Map<java.lang.String,java.lang.String> users) |
protected void |
removeCase(java.lang.String caseID) |
protected void |
removeCaseFromTaskCompleters(java.lang.String caseid) |
protected Participant |
removeChainedCase(java.lang.String caseID) |
protected void |
removeChainedCasesForParticpant(Participant p) |
protected CodeletRunner |
removeCodeletRunner(java.lang.String itemID) |
protected void |
removeDataSchema(YSpecificationID specID) |
protected TaggedStringList |
removeDeferredGroupForCase(java.lang.String caseID) |
protected TaggedStringList |
removeDeferredItemGroup(TaggedStringList group) |
protected void |
removeSpecification(YSpecificationID specID) |
protected void |
removeSpecificationData(YSpecificationID specID) |
protected void |
removeTaskCompleter(Participant p,
WorkItemRecord wir) |
protected void |
removeUserKey(Participant p) |
protected void |
removeUserKey(java.lang.String userKey) |
protected void |
serviceDisconnect(java.lang.String handle) |
protected void |
setDeferredGroupHandled(java.lang.String caseID,
java.lang.String groupID) |
protected void |
setOrgDataSet(ResourceDataSet dataSet) |
protected void |
shutdown() |
protected void |
shutdownCodeletRunners() |
protected boolean |
unsetDeferredGroupHandled(java.lang.String caseID,
java.lang.String groupID) |
protected void |
updateClientCredentials(java.lang.String id,
java.lang.String password) |
protected ResourceDataSet getOrgDataSet()
protected void setOrgDataSet(ResourceDataSet dataSet)
protected void removeCase(java.lang.String caseID)
protected void addUserKey(Participant p)
protected void removeUserKey(Participant p)
protected void removeUserKey(java.lang.String userKey)
protected boolean isKnownUserID(java.lang.String userid)
protected java.lang.String getParticipantIDFromUserID(java.lang.String userID)
protected TaggedStringList addDeferredItemGroup(TaggedStringList group)
protected TaggedStringList removeDeferredItemGroup(TaggedStringList group)
protected TaggedStringList getDeferredItemGroup(java.lang.String groupID)
protected void setDeferredGroupHandled(java.lang.String caseID, java.lang.String groupID)
protected boolean unsetDeferredGroupHandled(java.lang.String caseID, java.lang.String groupID)
protected boolean isDeferredGroupHandled(java.lang.String caseID, java.lang.String groupID)
protected TaggedStringList removeDeferredGroupForCase(java.lang.String caseID)
protected Participant addChainedCase(java.lang.String caseID, Participant p)
protected boolean isChainedCase(java.lang.String caseID)
protected boolean isChainedParticipant(Participant p)
protected Participant getChainedParticipant(java.lang.String caseID)
public java.util.Set<java.lang.String> getChainedCaseIDsForParticipant(Participant p)
protected java.util.Set<java.lang.String> getChainedCaseIDs()
protected Participant removeChainedCase(java.lang.String caseID)
protected void removeChainedCasesForParticpant(Participant p)
protected void addTaskCompleter(Participant p, WorkItemRecord wir)
protected java.util.Set<Participant> getTaskCompleters(java.lang.String taskID, java.lang.String caseID)
protected void removeTaskCompleter(Participant p, WorkItemRecord wir)
protected void removeCaseFromTaskCompleters(java.lang.String caseid)
protected CodeletRunner addCodeletRunner(java.lang.String itemID, CodeletRunner runner)
protected CodeletRunner removeCodeletRunner(java.lang.String itemID)
protected void cancelCodeletRunner(java.lang.String itemID)
protected void cancelCodeletRunnersForCase(java.lang.String caseID)
protected void shutdownCodeletRunners()
protected void addOrphanedItem(WorkItemRecord wir)
protected java.util.List<WorkItemRecord> getOrphanedItems()
protected void clearOrphanedItems()
protected void addDelayedCaseLaunch(DelayedLaunchRecord record)
protected boolean logDelayedCaseLaunch(YSpecificationID specID, java.lang.String caseID)
protected void addSpecificationData(SpecificationData specData)
protected SpecificationData getSpecificationData(YSpecificationID specID)
protected void removeSpecificationData(YSpecificationID specID)
protected java.util.Map<java.lang.String,Element> addDataSchema(YSpecificationID specID, java.lang.String schema)
protected java.util.Map<java.lang.String,Element> getDataSchemaMap(YSpecificationID specID)
protected void removeDataSchema(YSpecificationID specID)
protected void removeSpecification(YSpecificationID specID)
protected Participant getParticipantWithSessionHandle(java.lang.String handle)
protected java.lang.String getWhoLaunchedCase(java.lang.String handle)
protected void shutdown() throws java.lang.InterruptedException
java.lang.InterruptedException
protected boolean isActiveSession(java.lang.String jSessionID)
protected Participant expireSession(java.lang.String jSessionID)
protected boolean isValidUserSession(java.lang.String handle)
protected void logout(java.lang.String handle)
protected void addSession(java.lang.String handle, java.lang.String jSessionID)
protected void addSession(java.lang.String handle, Participant p, java.lang.String jSessionID)
protected java.lang.String getSessionHandle(Participant p)
protected java.lang.String getActiveParticipantsAsXML()
public int getSessionCount()
public int getUserSessionCount()
public int getAdminSessionCount()
public int getUserAdminSessionCount()
protected void refreshClientCredentials(java.util.Map<java.lang.String,java.lang.String> users)
protected void addClientCredentials(java.lang.String id, java.lang.String password)
protected void updateClientCredentials(java.lang.String id, java.lang.String password)
protected void deleteClientCredentials(java.lang.String id)
protected boolean hasClientCredentials()
protected java.lang.String connectClient(java.lang.String userid, java.lang.String password, long timeOutSeconds)
protected java.lang.String getClientPassword(java.lang.String id)
protected boolean checkServiceConnection(java.lang.String handle)
protected void serviceDisconnect(java.lang.String handle)
protected java.lang.String getUserIDForSessionHandle(java.lang.String handle)
Copyright © 2004-2014 The YAWL Foundation.