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

public class ContextImplWithEviction extends ContextImpl
  • Constructor Details

    • ContextImplWithEviction

      public ContextImplWithEviction(String name, org.kie.internal.command.ContextManager manager, org.kie.api.runtime.Context delegate)
    • ContextImplWithEviction

      public ContextImplWithEviction(String name, org.kie.internal.command.ContextManager manager)
  • Method Details

    • get

      public Object get(String identifier)
      Specified by:
      get in interface org.kie.api.runtime.Context
      Overrides:
      get in class ContextImpl
    • set

      public void set(String name, Object object)
      Specified by:
      set in interface org.kie.api.runtime.Context
      Overrides:
      set in class ContextImpl
    • getEvictionWakeUpTime

      public long getEvictionWakeUpTime()
    • getEvictionMap

      public Map<String,Long> 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)