public class InstanceCache extends java.util.concurrent.ConcurrentHashMap<java.lang.String,CaseInstance>
java.util.concurrent.ConcurrentHashMap.KeySetView<K,V>
Constructor and Description |
---|
InstanceCache() |
Modifier and Type | Method and Description |
---|---|
void |
addCase(CaseInstance instance) |
void |
addCase(java.lang.String caseID,
YSpecificationID specID,
java.lang.String caseParams,
YLogDataItemList logData,
long startTime) |
void |
addParameters(YWorkItem workitem,
YTask task,
Element data) |
void |
addWorkItem(YWorkItem item) |
void |
closeWorkItem(YWorkItem item,
Document data) |
CaseInstance |
getCase(java.lang.String caseID) |
java.util.Collection<CaseInstance> |
getCases() |
java.util.Collection<ParameterInstance> |
getParameters(java.lang.String caseID,
java.lang.String itemID) |
WorkItemInstance |
getWorkItemInstance(java.lang.String caseID,
java.lang.String itemID) |
WorkItemInstance |
getWorkItemInstance(YWorkItem item) |
java.util.Collection<WorkItemInstance> |
getWorkitems(java.lang.String caseID) |
java.lang.String |
marshalCases() |
java.lang.String |
marshalParameters(java.lang.String caseID,
java.lang.String itemID) |
java.lang.String |
marshalWorkItems(java.lang.String caseID) |
CaseInstance |
removeCase(java.lang.String caseID) |
void |
setTimerExpired(YWorkItem item) |
void |
updateWorkItemData(YWorkItem item,
Element data) |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
public void addCase(CaseInstance instance)
public void addCase(java.lang.String caseID, YSpecificationID specID, java.lang.String caseParams, YLogDataItemList logData, long startTime)
public CaseInstance getCase(java.lang.String caseID)
public java.util.Collection<CaseInstance> getCases()
public CaseInstance removeCase(java.lang.String caseID)
public void addWorkItem(YWorkItem item)
public void setTimerExpired(YWorkItem item)
public java.util.Collection<WorkItemInstance> getWorkitems(java.lang.String caseID)
public WorkItemInstance getWorkItemInstance(java.lang.String caseID, java.lang.String itemID)
public WorkItemInstance getWorkItemInstance(YWorkItem item)
public java.util.Collection<ParameterInstance> getParameters(java.lang.String caseID, java.lang.String itemID)
public java.lang.String marshalCases()
public java.lang.String marshalWorkItems(java.lang.String caseID)
public java.lang.String marshalParameters(java.lang.String caseID, java.lang.String itemID)
Copyright © 2004-2014 The YAWL Foundation.