public class ContextImplWithEviction extends ContextImpl
Constructor and Description |
---|
ContextImplWithEviction(String name,
org.kie.internal.command.World manager) |
ContextImplWithEviction(String name,
org.kie.internal.command.World manager,
org.kie.internal.command.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, remove, setParent, toString
public ContextImplWithEviction(String name, org.kie.internal.command.World manager, org.kie.internal.command.Context delegate)
public ContextImplWithEviction(String name, org.kie.internal.command.World manager)
public Object get(String identifier)
get
in interface org.kie.internal.command.Context
get
in class ContextImpl
public void set(String name, Object object)
set
in interface org.kie.internal.command.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–2016 JBoss by Red Hat. All rights reserved.