public class ContextStateCacheNoSave extends Object implements ContextStateCache
Modifier and Type | Class and Description |
---|---|
static class |
ContextStateCacheNoSave.ContextStateCacheNoSaveInitTermBinding
For testing, only used within SPIs; Replaced by applicable EsperHA bindings.
|
static class |
ContextStateCacheNoSave.MyContextStatePathValueBindingSerializable
For testing, only used within SPIs; Replaced by applicable EsperHA bindings.
|
Modifier and Type | Field and Description |
---|---|
static ContextStatePathValueBinding |
DEFAULT_SPI_TEST_BINDING |
Constructor and Description |
---|
ContextStateCacheNoSave() |
Modifier and Type | Method and Description |
---|---|
void |
addContextPath(String contextName,
int level,
int parentPath,
int subPath,
Integer optionalContextPartitionId,
Object additionalInfo,
ContextStatePathValueBinding binding) |
ContextStatePathValueBinding |
getBinding(Object bindingInfo) |
TreeMap<ContextStatePathKey,ContextStatePathValue> |
getContextPaths(String contextName) |
void |
removeContext(String contextName) |
void |
removeContextParentPath(String contextName,
int level,
int parentPath) |
void |
removeContextPath(String contextName,
int level,
int parentPath,
int subPath) |
void |
updateContextPath(String contextName,
ContextStatePathKey key,
ContextStatePathValue value) |
public static final ContextStatePathValueBinding DEFAULT_SPI_TEST_BINDING
public ContextStatePathValueBinding getBinding(Object bindingInfo)
getBinding
in interface ContextStateCache
public void updateContextPath(String contextName, ContextStatePathKey key, ContextStatePathValue value)
updateContextPath
in interface ContextStateCache
public void addContextPath(String contextName, int level, int parentPath, int subPath, Integer optionalContextPartitionId, Object additionalInfo, ContextStatePathValueBinding binding)
addContextPath
in interface ContextStateCache
public void removeContextParentPath(String contextName, int level, int parentPath)
removeContextParentPath
in interface ContextStateCache
public void removeContextPath(String contextName, int level, int parentPath, int subPath)
removeContextPath
in interface ContextStateCache
public TreeMap<ContextStatePathKey,ContextStatePathValue> getContextPaths(String contextName)
getContextPaths
in interface ContextStateCache
public void removeContext(String contextName)
removeContext
in interface ContextStateCache