|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.pojo.impl.PojoCacheThreadContextImpl
public class PojoCacheThreadContextImpl
Method Summary | |
---|---|
void |
clear()
Clears all thread settings stored on this context. |
boolean |
isGravitationEnabled()
Returns whether or not this thread should trigger gravitation when a cache-miss occurs. |
void |
setGravitationEnabled(boolean gravitate)
Enables or disables gravitation on cache-miss |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isGravitationEnabled()
isGravitationEnabled
in interface PojoCacheThreadContext
public void setGravitationEnabled(boolean gravitate)
setGravitationEnabled
in interface PojoCacheThreadContext
gravitate
- true if gravitation should be triggered on cache-miss, false if gravitation should not be triggeredpublic void clear()
PojoCacheThreadContext
clear
in interface PojoCacheThreadContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |