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