org.jdmp.jgroups
Class JGroupsMap<K extends Serializable,V extends Serializable>
java.lang.Object
org.jdmp.jgroups.JGroupsMap<K,V>
- All Implemented Interfaces:
- Map<K,V>, org.jgroups.blocks.ReplicatedHashMap.Notification<K,V>
public class JGroupsMap<K extends Serializable,V extends Serializable>
- extends Object
- implements Map<K,V>, org.jgroups.blocks.ReplicatedHashMap.Notification<K,V>
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGroupsMap
public JGroupsMap()
throws UnknownHostException,
org.jgroups.ChannelException
- Throws:
UnknownHostException
org.jgroups.ChannelException
JGroupsMap
public JGroupsMap(String name)
throws UnknownHostException,
org.jgroups.ChannelException
- Throws:
UnknownHostException
org.jgroups.ChannelException
clear
public void clear()
- Specified by:
clear in interface Map<K extends Serializable,V extends Serializable>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<K extends Serializable,V extends Serializable>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<K extends Serializable,V extends Serializable>
entrySet
public Set<Map.Entry<K,V>> entrySet()
- Specified by:
entrySet in interface Map<K extends Serializable,V extends Serializable>
get
public V get(Object key)
- Specified by:
get in interface Map<K extends Serializable,V extends Serializable>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<K extends Serializable,V extends Serializable>
keySet
public Set<K> keySet()
- Specified by:
keySet in interface Map<K extends Serializable,V extends Serializable>
put
public V put(K key,
V value)
- Specified by:
put in interface Map<K extends Serializable,V extends Serializable>
putAll
public void putAll(Map<? extends K,? extends V> m)
- Specified by:
putAll in interface Map<K extends Serializable,V extends Serializable>
remove
public V remove(Object key)
- Specified by:
remove in interface Map<K extends Serializable,V extends Serializable>
size
public int size()
- Specified by:
size in interface Map<K extends Serializable,V extends Serializable>
values
public Collection<V> values()
- Specified by:
values in interface Map<K extends Serializable,V extends Serializable>
contentsCleared
public void contentsCleared()
- Specified by:
contentsCleared in interface org.jgroups.blocks.ReplicatedHashMap.Notification<K extends Serializable,V extends Serializable>
contentsSet
public void contentsSet(Map<K,V> new_entries)
- Specified by:
contentsSet in interface org.jgroups.blocks.ReplicatedHashMap.Notification<K extends Serializable,V extends Serializable>
entryRemoved
public void entryRemoved(K key)
- Specified by:
entryRemoved in interface org.jgroups.blocks.ReplicatedHashMap.Notification<K extends Serializable,V extends Serializable>
entrySet
public void entrySet(K key,
V value)
- Specified by:
entrySet in interface org.jgroups.blocks.ReplicatedHashMap.Notification<K extends Serializable,V extends Serializable>
viewChange
public void viewChange(org.jgroups.View view,
Vector<org.jgroups.Address> new_mbrs,
Vector<org.jgroups.Address> old_mbrs)
- Specified by:
viewChange in interface org.jgroups.blocks.ReplicatedHashMap.Notification<K extends Serializable,V extends Serializable>
Copyright © 2009. All Rights Reserved.