public class ContextImplWithEviction extends ContextImpl
REGISTRY| Constructor and Description |
|---|
ContextImplWithEviction(String name,
org.kie.internal.command.ContextManager manager) |
ContextImplWithEviction(String name,
org.kie.internal.command.ContextManager manager,
org.kie.api.runtime.Context delegate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String identifier) |
long |
getEntryEvictionTime() |
Map<String,Long> |
getEvictionMap() |
long |
getEvictionWakeUpTime() |
boolean |
isEvictionEnabled() |
void |
set(String name,
Object object) |
void |
setEntryEvictionTime(long entryEvictionTime) |
void |
setEvictionEnabled(boolean evictionEnabled) |
void |
setEvictionWakeUpTime(long evictionWakeUpTime) |
getContextManager, getName, has, lookup, register, remove, toStringpublic ContextImplWithEviction(String name, org.kie.internal.command.ContextManager manager, org.kie.api.runtime.Context delegate)
public ContextImplWithEviction(String name, org.kie.internal.command.ContextManager manager)
public Object get(String identifier)
get in interface org.kie.api.runtime.Contextget in class ContextImplpublic void set(String name, Object object)
set in interface org.kie.api.runtime.Contextset in class ContextImplpublic long getEvictionWakeUpTime()
public boolean isEvictionEnabled()
public void setEvictionEnabled(boolean evictionEnabled)
public long getEntryEvictionTime()
public void setEntryEvictionTime(long entryEvictionTime)
public void setEvictionWakeUpTime(long evictionWakeUpTime)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.