org.drools.command.impl
Class ContextImplWithEviction

java.lang.Object
  extended by org.drools.command.impl.ContextImpl
      extended by org.drools.command.impl.ContextImplWithEviction
All Implemented Interfaces:
Context

public class ContextImplWithEviction
extends ContextImpl


Constructor Summary
ContextImplWithEviction(String name, ContextManager manager)
           
ContextImplWithEviction(String name, ContextManager manager, Context delegate)
           
 
Method Summary
 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.command.impl.ContextImpl
getContextManager, getDepth, getName, remove, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextImplWithEviction

public ContextImplWithEviction(String name,
                               ContextManager manager,
                               Context delegate)

ContextImplWithEviction

public ContextImplWithEviction(String name,
                               ContextManager manager)
Method Detail

get

public Object get(String identifier)
Specified by:
get in interface Context
Overrides:
get in class ContextImpl

set

public void set(String name,
                Object object)
Specified by:
set in interface 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)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.