public abstract class CollectionClientProxy<E> extends AbstractCollection<E>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected ProxyHelper |
proxyHelper |
Constructor and Description |
---|
CollectionClientProxy(HazelcastClient hazelcastClient,
String name) |
CollectionClientProxy(ProxyHelper proxyHelper,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
addItemListener(ItemListener<E> listener,
boolean includeValue) |
void |
destroy() |
Object |
getId() |
protected abstract Collection<E> |
getTheCollection() |
int |
hashCode() |
Iterator<E> |
iterator() |
void |
removeItemListener(ItemListener<E> listener) |
int |
size() |
String |
toString() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
equals
protected final ProxyHelper proxyHelper
protected final String name
public CollectionClientProxy(HazelcastClient hazelcastClient, String name)
public CollectionClientProxy(ProxyHelper proxyHelper, String name)
public void destroy()
public Object getId()
public Iterator<E> iterator()
iterator
in interface Iterable<E>
iterator
in interface Collection<E>
iterator
in class AbstractCollection<E>
protected abstract Collection<E> getTheCollection()
public String toString()
toString
in class AbstractCollection<E>
public void addItemListener(ItemListener<E> listener, boolean includeValue)
public void removeItemListener(ItemListener<E> listener)
public int size()
size
in interface Collection<E>
size
in class AbstractCollection<E>
public int hashCode()
hashCode
in interface Collection<E>
hashCode
in class Object
Copyright © 2013 Hazelcast, Inc.. All rights reserved.