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, toString
public 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.Context
get
in class ContextImpl
public void set(String name, Object object)
set
in interface org.kie.api.runtime.Context
set
in class ContextImpl
public 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–2020 JBoss by Red Hat. All rights reserved.