public class SetProxyImpl extends AbstractCollection implements SetProxy, DataSerializable, HazelcastInstanceAwareInstance
Instance.InstanceType| Constructor and Description |
|---|
SetProxyImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
void |
addItemListener(ItemListener itemListener,
boolean includeValue)
Adds an item listener for this collection.
|
void |
clear() |
boolean |
contains(Object o) |
void |
destroy()
Destroys this instance cluster-wide.
|
boolean |
equals(Object o) |
SetProxy |
getBase() |
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
|
MProxy |
getMProxy() |
String |
getName()
Returns the name of this collection
|
int |
hashCode() |
Iterator |
iterator() |
void |
readData(DataInput in) |
boolean |
remove(Object o) |
void |
removeItemListener(ItemListener itemListener)
Removes the specified item listener.
|
boolean |
removeKey(Object key) |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
int |
size() |
String |
toString() |
void |
writeData(DataOutput out) |
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArraypublic SetProxy getBase()
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance in interface HazelcastInstanceAwarepublic Object getId()
Instancepublic String toString()
toString in class AbstractCollectionpublic boolean equals(Object o)
public int hashCode()
public int size()
size in interface Collectionsize in interface Setsize in class AbstractCollectionpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Setcontains in class AbstractCollectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setiterator in class AbstractCollectionpublic boolean add(Object o)
add in interface Collectionadd in interface Setadd in class AbstractCollectionpublic boolean remove(Object o)
remove in interface Collectionremove in interface Setremove in class AbstractCollectionpublic void clear()
clear in interface Collectionclear in interface Setclear in class AbstractCollectionpublic Instance.InstanceType getInstanceType()
InstancegetInstanceType in interface Instancepublic void destroy()
Instancepublic void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic 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 boolean removeKey(Object key)
Copyright © 2013 Hazelcast, Inc.. All rights reserved.