E - set element typepublic class DefaultDistributedSet<E> extends Synchronous<AsyncDistributedSet<E>> implements DistributedSet<E>
DistributedSet that merely delegates to a AsyncDistributedSet
 and waits for the operation to complete.DistributedPrimitive.Status, DistributedPrimitive.TypeDEFAULT_OPERATION_TIMEOUT_MILLIS, DEFAULT_OPERTATION_TIMEOUT_MILLIS| Constructor and Description | 
|---|
DefaultDistributedSet(AsyncDistributedSet<E> asyncSet,
                     long operationTimeoutMillis)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(E e)  | 
boolean | 
addAll(java.util.Collection<? extends E> c)  | 
void | 
addListener(SetEventListener<E> listener)
Registers the specified listener to be notified whenever
 the set is updated. 
 | 
void | 
clear()  | 
boolean | 
contains(java.lang.Object o)  | 
boolean | 
containsAll(java.util.Collection<?> c)  | 
boolean | 
isEmpty()  | 
java.util.Iterator<E> | 
iterator()  | 
boolean | 
remove(java.lang.Object o)  | 
boolean | 
removeAll(java.util.Collection<?> c)  | 
void | 
removeListener(SetEventListener<E> listener)
Unregisters the specified listener. 
 | 
boolean | 
retainAll(java.util.Collection<?> c)  | 
int | 
size()  | 
java.lang.Object[] | 
toArray()  | 
<T> T[] | 
toArray(T[] a)  | 
destroy, name, primitiveTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatusChangeListener, applicationId, destroy, name, primitiveType, removeStatusChangeListener, statusChangeListenerspublic DefaultDistributedSet(AsyncDistributedSet<E> asyncSet, long operationTimeoutMillis)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<E> iterator()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends E> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean removeAll(java.util.Collection<?> c)
public void clear()
public void addListener(SetEventListener<E> listener)
DistributedSetaddListener in interface DistributedSet<E>listener - listener to notify about set update eventspublic void removeListener(SetEventListener<E> listener)
DistributedSetremoveListener in interface DistributedSet<E>listener - listener to unregister.