org.eclipse.emf.cdo.spi.server
Class StoreAccessorPool
java.lang.Object
org.eclipse.emf.cdo.spi.server.StoreAccessorPool
- public class StoreAccessorPool
- extends Object
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoreAccessorPool
public StoreAccessorPool(IStore store,
Object context)
getStore
public IStore getStore()
getContext
public Object getContext()
addStoreAccessor
public void addStoreAccessor(StoreAccessorBase storeAccessor)
- Passivates the given
store accessor
and adds it to this pool.
- Since:
- 4.0
removeStoreAccessor
public StoreAccessorBase removeStoreAccessor(Object context)
- Returns a
store accessor
from this pool if one is available, or null
otherwise.
If a store accessor is available it is removed from this pool and its unpassivate method is called.
- Since:
- 4.0
dispose
public void dispose()
- Deactivates all contained
store accessors
and clears this pool.
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.