org.codehaus.wadi.core.assembler
Class StackContext
java.lang.Object
org.codehaus.wadi.core.assembler.StackContext
public class StackContext
- extends java.lang.Object
- Version:
- $Revision: 1538 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
underlyingDispatcher
protected final org.codehaus.wadi.group.Dispatcher underlyingDispatcher
serviceSpace
protected ServiceSpace serviceSpace
partitionMapper
protected PartitionMapper partitionMapper
partitionManager
protected PartitionManager partitionManager
stateManager
protected StateManager stateManager
timer
protected java.util.Timer timer
replicationManager
protected ReplicationManager replicationManager
replicaStorage
protected ReplicaStorage replicaStorage
sessionFactory
protected SessionFactory sessionFactory
manager
protected ClusteredManager manager
memoryMap
protected ConcurrentMotableMap memoryMap
router
protected Router router
stateHandler
protected ObjectStateHandler stateHandler
StackContext
public StackContext(ServiceSpaceName serviceSpaceName,
org.codehaus.wadi.group.Dispatcher underlyingDispatcher)
StackContext
public StackContext(ServiceSpaceName serviceSpaceName,
org.codehaus.wadi.group.Dispatcher underlyingDispatcher,
int sessionTimeout)
StackContext
public StackContext(java.lang.ClassLoader cl,
ServiceSpaceName serviceSpaceName,
org.codehaus.wadi.group.Dispatcher underlyingDispatcher,
int sessionTimeout,
int numPartitions,
int sweepInterval,
BackingStrategyFactory backingStrategyFactory)
build
public void build()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
newServiceClassIndexerRegistry
protected ClassIndexerRegistry newServiceClassIndexerRegistry()
newConcurrentMap
protected OswegoConcurrentMotableMap newConcurrentMap()
newObjectStateHandler
protected ObjectStateHandler newObjectStateHandler(Streamer streamer)
newReplicaStorageFactory
protected ReplicaStorageFactory newReplicaStorageFactory()
newReplicationManagerFactory
protected ReplicationManagerFactory newReplicationManagerFactory()
registerStackExplorer
protected void registerStackExplorer(ContextualiserStackExplorer stackExplorer)
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerStateManager
protected void registerStateManager()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerPartitionManager
protected void registerPartitionManager()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
newSessionMonitor
protected SessionMonitor newSessionMonitor()
registerClusteredManager
protected void registerClusteredManager(ClusteredManager manager)
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerReplicationManager
protected void registerReplicationManager()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerReplicaStorage
protected void registerReplicaStorage()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerReleaseEntryRequestEndPoint
protected void registerReleaseEntryRequestEndPoint(Contextualiser contextualiser)
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerMovePMToSMEndPoint
protected void registerMovePMToSMEndPoint(Contextualiser contextualiser)
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
registerRepopulationEndPoint
protected void registerRepopulationEndPoint(Contextualiser contextualiser)
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
newRouter
protected Router newRouter()
newSessionFactory
protected SessionFactory newSessionFactory(Streamer streamer)
newStreamer
protected SimpleStreamer newStreamer()
newValueFactory
protected DistributableValueFactory newValueFactory(ValueHelperRegistry valueHelperRegistry)
newValueHelperRegistry
protected BasicValueHelperRegistry newValueHelperRegistry()
newStateManager
protected StateManager newStateManager()
newPartitionMapper
protected PartitionMapper newPartitionMapper()
newPartitionManager
protected PartitionManager newPartitionManager()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
newPartitionBalancerSingletonServiceHolder
protected PartitionBalancerSingletonServiceHolder newPartitionBalancerSingletonServiceHolder()
throws ServiceAlreadyRegisteredException
- Throws:
ServiceAlreadyRegisteredException
newReplicationManager
protected ReplicationManager newReplicationManager()
newCollapserContextualiser
protected Contextualiser newCollapserContextualiser(Contextualiser contextualiser,
ConcurrentMotableMap mmap)
newMemoryContextualiser
protected Contextualiser newMemoryContextualiser(Contextualiser next,
ConcurrentMotableMap mmap)
newMemoryContextualiser
protected MemoryContextualiser newMemoryContextualiser(Contextualiser next,
ConcurrentMotableMap mmap,
Evicter mevicter)
newClusteredContextualiser
protected Contextualiser newClusteredContextualiser(Contextualiser contextualiser)
newSharedStoreContextualiser
protected Contextualiser newSharedStoreContextualiser(Contextualiser next)
newReplicaAwareContextualiser
protected Contextualiser newReplicaAwareContextualiser(Contextualiser next)
getPartitionManager
public PartitionManager getPartitionManager()
getPartitionMapper
public PartitionMapper getPartitionMapper()
getReplicationManager
public ReplicationManager getReplicationManager()
getServiceSpace
public ServiceSpace getServiceSpace()
getServiceSpaceName
public ServiceSpaceName getServiceSpaceName()
getStateManager
public StateManager getStateManager()
getManager
public Manager getManager()
getMemoryMap
public ConcurrentMotableMap getMemoryMap()
getSessionMonitor
public SessionMonitor getSessionMonitor()
isDisableReplication
public boolean isDisableReplication()
setDisableReplication
public void setDisableReplication(boolean disableReplication)
setSharedStore
public void setSharedStore(Store sharedStore)
Copyright © 2008. All Rights Reserved.