public class History extends RemoteMap<Event>
RemoteMap
which provides a live view onto the Events of an Item.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
History(ItemPath itemPath,
TransactionKey transactionKey) |
| Modifier and Type | Method and Description |
|---|---|
Event |
addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
Schema schema,
StateMachine stateMachine,
int transitionId,
String viewName) |
Event |
addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
Schema schema,
StateMachine stateMachine,
int transitionId,
String viewName,
boolean hasAttachment) |
Event |
addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
Schema schema,
StateMachine stateMachine,
int transitionId,
String viewName,
String timeString) |
Event |
addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId) |
Event |
addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId,
String timeString) |
boolean |
containsKey(Integer id)
Events are never deleted and they are numbered incrementally, which means id >= 0 and id <= lastId
|
boolean |
containsKey(Object key)
Events are never deleted and they are numbered incrementally, which means key >= 0 and key <= lastId
|
Event |
get(Integer id) |
Event |
getEvent(int id) |
Event |
remove(Object key) |
activate, clear, containsValue, deactivate, finalize, get, getClusterPath, getClusterType, getID, getLastId, getName, isEmpty, keySet, loadKeys, put, putLocal, removeLocal, setID, setName, size, valuesceilingEntry, ceilingKey, clone, comparator, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, headMap, headMap, higherEntry, higherKey, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, replace, replace, replaceAll, subMap, subMap, tailMap, tailMapequals, hashCode, toStringenforceValidNamecompute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, merge, putIfAbsent, removepublic History(ItemPath itemPath, TransactionKey transactionKey)
public Event getEvent(int id)
public Event addEvent(AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId)
public Event addEvent(AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, Schema schema, StateMachine stateMachine, int transitionId, String viewName)
public Event addEvent(AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, Schema schema, StateMachine stateMachine, int transitionId, String viewName, boolean hasAttachment)
public Event addEvent(AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId, String timeString) throws InvalidDataException
InvalidDataExceptionpublic Event addEvent(AgentPath agentPath, AgentPath delegatePath, String agentRole, String stepName, String stepPath, String stepType, Schema schema, StateMachine stateMachine, int transitionId, String viewName, String timeString) throws InvalidDataException
InvalidDataExceptionpublic boolean containsKey(Integer id)
public boolean containsKey(Object key)
containsKey in interface Map<String,Event>containsKey in class RemoteMap<Event>Copyright © 1997–2022 CRISTAL-iSE. All rights reserved.