public class ListProxyImpl extends AbstractList implements ListProxy, DataSerializable
Instance.InstanceTypemodCount| Constructor and Description |
|---|
ListProxyImpl() |
ListProxyImpl(String name,
FactoryImpl factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
addItemListener(ItemListener itemListener,
boolean includeValue)
Adds an item listener for this collection.
|
boolean |
contains(Object o) |
void |
destroy()
Destroys this instance cluster-wide.
|
Object |
get(int index) |
Object |
getId()
Returns the unique id for this instance.
|
Instance.InstanceType |
getInstanceType()
Returns instance type such as map, set, list, lock, topic, multimap, id generator
|
String |
getName()
Returns the name of this collection
|
int |
indexOf(Object o) |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
void |
readData(DataInput in) |
Object |
remove(int index) |
boolean |
remove(Object o) |
void |
removeItemListener(ItemListener itemListener)
Removes the specified item listener.
|
Object |
set(int index,
Object element) |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
int |
size() |
String |
toString() |
void |
writeData(DataOutput out) |
addAll, clear, equals, hashCode, listIterator, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, containsAll, equals, hashCode, isEmpty, listIterator, listIterator, removeAll, retainAll, subList, toArray, toArraypublic ListProxyImpl()
public ListProxyImpl(String name, FactoryImpl factory)
public Instance.InstanceType getInstanceType()
InstancegetInstanceType in interface Instancepublic void destroy()
Instancepublic Object getId()
Instancepublic int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Listcontains in class AbstractCollectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractListpublic boolean add(Object o)
add in interface Collectionadd in interface Listadd in class AbstractListpublic boolean remove(Object o)
remove in interface Collectionremove in interface Listremove in class AbstractCollectionpublic boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface ListaddAll in class AbstractCollectionpublic Object get(int index)
get in interface Listget in class AbstractListpublic Object set(int index, Object element)
set in interface Listset in class AbstractListpublic void add(int index,
Object element)
add in interface Listadd in class AbstractListpublic Object remove(int index)
remove in interface Listremove in class AbstractListpublic int indexOf(Object o)
indexOf in interface ListindexOf in class AbstractListpublic int lastIndexOf(Object o)
lastIndexOf in interface ListlastIndexOf in class AbstractListpublic void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance in interface HazelcastInstanceAwarepublic String getName()
ICollectiongetName in interface ICollectionpublic void addItemListener(ItemListener itemListener, boolean includeValue)
ICollectionaddItemListener in interface ICollectionitemListener - item listenerincludeValue - true updated item should be passed
to the item listener, false otherwise.public void removeItemListener(ItemListener itemListener)
ICollectionremoveItemListener in interface ICollectionitemListener - item listener for this collectionpublic String toString()
toString in class AbstractCollectionCopyright © 2013 Hazelcast, Inc.. All rights reserved.