Package org.drools.core.command.impl
Class ContextImplWithEviction
- java.lang.Object
-
- org.drools.core.command.impl.ContextImpl
-
- org.drools.core.command.impl.ContextImplWithEviction
-
- All Implemented Interfaces:
org.kie.api.runtime.Context
,org.kie.internal.command.RegistryContext
public class ContextImplWithEviction extends ContextImpl
-
-
Field Summary
-
Fields inherited from class org.drools.core.command.impl.ContextImpl
ID_GENERATOR, REGISTRY
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.drools.core.command.impl.ContextImpl
getContextManager, getName, has, lookup, register, remove, toString
-
-
-
-
Method Detail
-
get
public Object get(String identifier)
- Specified by:
get
in interfaceorg.kie.api.runtime.Context
- Overrides:
get
in classContextImpl
-
set
public void set(String name, Object object)
- Specified by:
set
in interfaceorg.kie.api.runtime.Context
- Overrides:
set
in classContextImpl
-
getEvictionWakeUpTime
public long getEvictionWakeUpTime()
-
isEvictionEnabled
public boolean isEvictionEnabled()
-
setEvictionEnabled
public void setEvictionEnabled(boolean evictionEnabled)
-
getEntryEvictionTime
public long getEntryEvictionTime()
-
setEntryEvictionTime
public void setEntryEvictionTime(long entryEvictionTime)
-
setEvictionWakeUpTime
public void setEvictionWakeUpTime(long evictionWakeUpTime)
-
-