com.sun.xml.ws.rx.ha
Class HighlyAvailableMap<K extends Serializable,V>
java.lang.Object
com.sun.xml.ws.rx.ha.HighlyAvailableMap<K,V>
- All Implemented Interfaces:
- Map<K,V>
public final class HighlyAvailableMap<K extends Serializable,V>
- extends Object
- implements Map<K,V>
- Author:
- Marek Potociar (marek.potociar at sun.com)
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Method Summary |
void |
clear()
|
void |
close()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
static
|
create(String name,
BackingStore<K,V> backingStore)
|
static
|
create(String name,
ReplicationManager<K,V> replicationManager)
|
static
|
createSticky(String name,
BackingStore<StickyKey,V> backingStore)
|
void |
destroy()
|
Set<Map.Entry<K,V>> |
entrySet()
|
V |
get(Object key)
|
Map<K,V> |
getLocalMapCopy()
|
ReplicationManager<K,V> |
getReplicationManager()
|
void |
invalidateCache()
|
boolean |
isEmpty()
|
Set<K> |
keySet()
|
V |
put(K key,
V value)
|
void |
putAll(Map<? extends K,? extends V> m)
|
V |
remove(Object key)
|
int |
size()
|
Collection<V> |
values()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static <K extends Serializable,V extends Serializable> HighlyAvailableMap<K,V> create(String name,
BackingStore<K,V> backingStore)
createSticky
public static <K extends Serializable,V extends Serializable> HighlyAvailableMap<K,V> createSticky(String name,
BackingStore<StickyKey,V> backingStore)
create
public static <K extends Serializable,V> HighlyAvailableMap<K,V> create(String name,
ReplicationManager<K,V> replicationManager)
size
public int size()
- Specified by:
size in interface Map<K extends Serializable,V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<K extends Serializable,V>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<K extends Serializable,V>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<K extends Serializable,V>
get
public V get(Object key)
- Specified by:
get in interface Map<K extends Serializable,V>
put
public V put(K key,
V value)
- Specified by:
put in interface Map<K extends Serializable,V>
remove
public V remove(Object key)
- Specified by:
remove in interface Map<K extends Serializable,V>
putAll
public void putAll(Map<? extends K,? extends V> m)
- Specified by:
putAll in interface Map<K extends Serializable,V>
clear
public void clear()
- Specified by:
clear in interface Map<K extends Serializable,V>
keySet
public Set<K> keySet()
- Specified by:
keySet in interface Map<K extends Serializable,V>
values
public Collection<V> values()
- Specified by:
values in interface Map<K extends Serializable,V>
entrySet
public Set<Map.Entry<K,V>> entrySet()
- Specified by:
entrySet in interface Map<K extends Serializable,V>
getLocalMapCopy
public Map<K,V> getLocalMapCopy()
invalidateCache
public void invalidateCache()
getReplicationManager
public ReplicationManager<K,V> getReplicationManager()
close
public void close()
destroy
public void destroy()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.