public class WorkItemCache extends java.util.concurrent.ConcurrentHashMap<java.lang.String,WorkItemRecord>
java.util.concurrent.ConcurrentHashMap.KeySetView<K,V>
Modifier and Type | Method and Description |
---|---|
WorkItemRecord |
add(WorkItemRecord wir) |
static WorkItemCache |
getInstance() |
static WorkItemCache |
getInstance(boolean persist) |
boolean |
isPersistOn() |
WorkItemRecord |
put(java.lang.String id,
WorkItemRecord wir) |
protected void |
remove(java.util.Set<java.lang.String> idSet) |
void |
restore() |
void |
setPersist(boolean persist) |
void |
stopCleanserThread() |
WorkItemRecord |
update(WorkItemRecord wir) |
WorkItemRecord |
updateResourceStatus(WorkItemRecord wir,
java.lang.String status) |
WorkItemRecord |
updateStatus(WorkItemRecord wir,
java.lang.String status) |
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, 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 static WorkItemCache getInstance()
public static WorkItemCache getInstance(boolean persist)
public void setPersist(boolean persist)
public boolean isPersistOn()
public WorkItemRecord add(WorkItemRecord wir)
public WorkItemRecord update(WorkItemRecord wir)
public WorkItemRecord updateResourceStatus(WorkItemRecord wir, java.lang.String status)
public WorkItemRecord updateStatus(WorkItemRecord wir, java.lang.String status)
public void stopCleanserThread()
public void restore()
public WorkItemRecord put(java.lang.String id, WorkItemRecord wir)
put
in interface java.util.Map<java.lang.String,WorkItemRecord>
put
in class java.util.concurrent.ConcurrentHashMap<java.lang.String,WorkItemRecord>
protected void remove(java.util.Set<java.lang.String> idSet)
Copyright © 2004-2014 The YAWL Foundation.