org.jboss.cache
Class RegionRegistry
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<Fqn,Region>
org.jboss.cache.RegionRegistry
- All Implemented Interfaces:
- Serializable, ConcurrentMap<Fqn,Region>, Map<Fqn,Region>
public class RegionRegistry
- extends ConcurrentHashMap<Fqn,Region>
An extension of the ConcurrentHashMap that acts as a container for regions.
- Since:
- 3.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.concurrent.ConcurrentHashMap |
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, putAll, remove, remove, size, values |
RegionRegistry
public RegionRegistry()
put
public Region put(Fqn f,
Region r)
- Specified by:
put
in interface Map<Fqn,Region>
- Overrides:
put
in class ConcurrentHashMap<Fqn,Region>
putIfAbsent
public Region putIfAbsent(Fqn f,
Region r)
- Specified by:
putIfAbsent
in interface ConcurrentMap<Fqn,Region>
- Overrides:
putIfAbsent
in class ConcurrentHashMap<Fqn,Region>
replace
public Region replace(Fqn f,
Region r)
- Specified by:
replace
in interface ConcurrentMap<Fqn,Region>
- Overrides:
replace
in class ConcurrentHashMap<Fqn,Region>
replace
public boolean replace(Fqn f,
Region oldR,
Region newR)
- Specified by:
replace
in interface ConcurrentMap<Fqn,Region>
- Overrides:
replace
in class ConcurrentHashMap<Fqn,Region>
getLargestFqnLength
public int getLargestFqnLength()
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.