Class ContextImplWithEviction

  • All Implemented Interfaces:
    org.kie.api.runtime.Context, org.kie.internal.command.RegistryContext

    public class ContextImplWithEviction
    extends ContextImpl
    • Constructor Detail

      • 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 Detail

      • 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()
      • 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)