com.hazelcast.client
Class MultiMapClientProxy<K,V>
java.lang.Object
com.hazelcast.client.MultiMapClientProxy<K,V>
- All Implemented Interfaces:
- EntryHolder, Instance, MultiMap<K,V>
public class MultiMapClientProxy<K,V>
- extends Object
- implements MultiMap<K,V>, EntryHolder
|
Method Summary |
void |
addEntryListener(EntryListener<K,V> listener,
boolean includeValue)
|
void |
addEntryListener(EntryListener<K,V> listener,
K key,
boolean includeValue)
|
void |
addLocalEntryListener(EntryListener<K,V> listener)
|
void |
clear()
|
boolean |
containsEntry(Object key,
Object value)
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
void |
destroy()
|
Set |
entrySet()
|
boolean |
equals(Object o)
|
Collection |
get(Object key)
|
Object |
getId()
|
Instance.InstanceType |
getInstanceType()
|
String |
getName()
|
int |
hashCode()
|
Set |
keySet()
|
Set<K> |
localKeySet()
|
void |
lock(K key)
|
boolean |
lockMap(long time,
TimeUnit timeunit)
|
boolean |
put(K key,
V value)
|
Collection |
remove(Object key)
|
boolean |
remove(Object key,
Object value)
|
void |
removeEntryListener(EntryListener<K,V> listener)
|
void |
removeEntryListener(EntryListener<K,V> listener,
K key)
|
int |
size()
|
boolean |
tryLock(K key)
|
boolean |
tryLock(K key,
long time,
TimeUnit timeunit)
|
void |
unlock(K key)
|
void |
unlockMap()
|
int |
valueCount(Object key)
|
Collection |
values()
|
MultiMapClientProxy
public MultiMapClientProxy(HazelcastClient client,
String name)
getName
public String getName()
- Specified by:
getName in interface MultiMap<K,V>
addLocalEntryListener
public void addLocalEntryListener(EntryListener<K,V> listener)
- Specified by:
addLocalEntryListener in interface MultiMap<K,V>
addEntryListener
public void addEntryListener(EntryListener<K,V> listener,
boolean includeValue)
- Specified by:
addEntryListener in interface MultiMap<K,V>
addEntryListener
public void addEntryListener(EntryListener<K,V> listener,
K key,
boolean includeValue)
- Specified by:
addEntryListener in interface MultiMap<K,V>
removeEntryListener
public void removeEntryListener(EntryListener<K,V> listener)
- Specified by:
removeEntryListener in interface MultiMap<K,V>
removeEntryListener
public void removeEntryListener(EntryListener<K,V> listener,
K key)
- Specified by:
removeEntryListener in interface MultiMap<K,V>
lock
public void lock(K key)
- Specified by:
lock in interface MultiMap<K,V>
tryLock
public boolean tryLock(K key)
- Specified by:
tryLock in interface MultiMap<K,V>
tryLock
public boolean tryLock(K key,
long time,
TimeUnit timeunit)
- Specified by:
tryLock in interface MultiMap<K,V>
unlock
public void unlock(K key)
- Specified by:
unlock in interface MultiMap<K,V>
lockMap
public boolean lockMap(long time,
TimeUnit timeunit)
- Specified by:
lockMap in interface MultiMap<K,V>
unlockMap
public void unlockMap()
- Specified by:
unlockMap in interface MultiMap<K,V>
put
public boolean put(K key,
V value)
- Specified by:
put in interface MultiMap<K,V>
get
public Collection get(Object key)
- Specified by:
get in interface EntryHolder- Specified by:
get in interface MultiMap<K,V>
remove
public boolean remove(Object key,
Object value)
- Specified by:
remove in interface EntryHolder- Specified by:
remove in interface MultiMap<K,V>
remove
public Collection remove(Object key)
- Specified by:
remove in interface EntryHolder- Specified by:
remove in interface MultiMap<K,V>
localKeySet
public Set<K> localKeySet()
- Specified by:
localKeySet in interface MultiMap<K,V>
keySet
public Set keySet()
- Specified by:
keySet in interface MultiMap<K,V>
values
public Collection values()
- Specified by:
values in interface MultiMap<K,V>
entrySet
public Set entrySet()
- Specified by:
entrySet in interface MultiMap<K,V>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface MultiMap<K,V>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface EntryHolder- Specified by:
containsValue in interface MultiMap<K,V>
containsEntry
public boolean containsEntry(Object key,
Object value)
- Specified by:
containsEntry in interface MultiMap<K,V>
size
public int size()
- Specified by:
size in interface EntryHolder- Specified by:
size in interface MultiMap<K,V>
clear
public void clear()
- Specified by:
clear in interface MultiMap<K,V>
valueCount
public int valueCount(Object key)
- Specified by:
valueCount in interface MultiMap<K,V>
getInstanceType
public Instance.InstanceType getInstanceType()
- Specified by:
getInstanceType in interface Instance
destroy
public void destroy()
- Specified by:
destroy in interface Instance
getId
public Object getId()
- Specified by:
getId in interface Instance
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.