org.codehaus.wadi.impl
Class AbstractSharedContextualiser
java.lang.Object
org.codehaus.wadi.impl.AbstractContextualiser
org.codehaus.wadi.impl.AbstractChainedContextualiser
org.codehaus.wadi.impl.AbstractMotingContextualiser
org.codehaus.wadi.impl.AbstractSharedContextualiser
- All Implemented Interfaces:
- Contextualiser, Lifecycle
- Direct Known Subclasses:
- ClusterContextualiser, GridStateContextualiser, SharedStoreContextualiser
- public abstract class AbstractSharedContextualiser
- extends AbstractMotingContextualiser
Methods inherited from class org.codehaus.wadi.impl.AbstractMotingContextualiser |
contextualise, destroy, get, getEmoter, getImmoter, getPromoter, getSharedDemoter, handle, init, promote, promoteToExclusive |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSharedContextualiser
public AbstractSharedContextualiser(Contextualiser next,
Locker locker,
boolean clean)
getDemoter
public Immoter getDemoter(String name,
Motable motable)
- Description copied from interface:
Contextualiser
- Return a Demoter to the first Contextualiser which would be happy to accept this Motable - in other words - would not evict() it.
- Parameters:
name
- - uid of the Motablemotable
- - the Motable in question
- Returns:
- - a Demoter - a delegate capable of arranging immotion into the correct Contextualiser
isExclusive
public boolean isExclusive()
getLocalSessionCount
public int getLocalSessionCount()
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.