Package org.drools.commands.impl
Class ContextImplWithEviction
java.lang.Object
org.drools.commands.impl.ContextImpl
org.drools.commands.impl.ContextImplWithEviction
- All Implemented Interfaces:
org.kie.api.runtime.Context,org.kie.internal.command.RegistryContext
-
Field Summary
Fields inherited from class org.drools.commands.impl.ContextImpl
ID_GENERATOR, REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionContextImplWithEviction(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
Modifier and TypeMethodDescriptionlonglongbooleanvoidvoidsetEntryEvictionTime(long entryEvictionTime) voidsetEvictionEnabled(boolean evictionEnabled) voidsetEvictionWakeUpTime(long evictionWakeUpTime) Methods inherited from class org.drools.commands.impl.ContextImpl
getContextManager, getName, has, lookup, register, remove, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.internal.command.RegistryContext
computeIfAbsent
-
Constructor Details
-
ContextImplWithEviction
public ContextImplWithEviction(String name, org.kie.internal.command.ContextManager manager, org.kie.api.runtime.Context delegate) -
ContextImplWithEviction
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.kie.api.runtime.Context- Overrides:
getin classContextImpl
-
set
- Specified by:
setin interfaceorg.kie.api.runtime.Context- Overrides:
setin classContextImpl
-
getEvictionWakeUpTime
public long getEvictionWakeUpTime() -
getEvictionMap
-
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)
-