org.jboss.cache
Class LegacyRegionManagerImpl
java.lang.Object
org.jboss.cache.RegionManagerImpl
org.jboss.cache.LegacyRegionManagerImpl
- All Implemented Interfaces:
- RegionManager
Deprecated. will be removed along with optimistic and pessimistic locking.
@ThreadSafe
@Deprecated
public class LegacyRegionManagerImpl
- extends RegionManagerImpl
For optimistic and pessimistically locked caches
- Since:
- 2.0.0
- Author:
- Manik Surtani
Method Summary |
protected void |
inactivateRegion(Fqn fqn)
Deprecated. Causes the cache to stop accepting replication events for the subtree
rooted at subtreeFqn and evict all nodes in that subtree. |
Methods inherited from class org.jboss.cache.RegionManagerImpl |
activate, activateIfEmpty, deactivate, destroy, dumpRegions, getAllRegions, getCache, getConfiguration, getEvictionTimerTask, getNumRegions, getRegion, getRegion, getRegion, getValidMarshallingRegion, hasRegion, injectDependencies, isDefaultInactive, isInactive, isRegionLocked, isUsingEvictions, lock, removeRegion, reset, setContextClassLoaderAsCurrent, setDefaultInactive, setEvictionConfig, setUsingEvictions, start, startEvictionThread, stop, stopEvictionThread, toString, unlock |
LegacyRegionManagerImpl
public LegacyRegionManagerImpl()
- Deprecated.
inactivateRegion
protected void inactivateRegion(Fqn fqn)
throws CacheException
- Deprecated.
- Causes the cache to stop accepting replication events for the subtree
rooted at
subtreeFqn
and evict all nodes in that subtree.
This is legacy code and should not be called directly. This is a private method for now and will be refactored out.
You should be using RegionManagerImpl.activate(Fqn)
and RegionManagerImpl.deactivate(Fqn)
- Overrides:
inactivateRegion
in class RegionManagerImpl
- Parameters:
fqn
- Fqn string indicating the uppermost node in the
portion of the cache that should be activated.
- Throws:
CacheException
- if there is a problem evicting nodes
IllegalStateException
- if Configuration.isUseRegionBasedMarshalling()
is false
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.