Package com.hazelcast.collection
Interface ISet<E>
- Type Parameters:
E
- the type of elements maintained by this set
- All Superinterfaces:
Collection<E>
,DistributedObject
,ICollection<E>
,Iterable<E>
,Set<E>
public interface ISet<E> extends Set<E>, ICollection<E>
Concurrent, distributed implementation of
Set
Note: This class is not a general-purpose Set
implementation! While this class implements the Set
interface,
it intentionally violates Set
's general contract, which mandates the
use of the equals()
method when comparing objects. Instead of the
equals method this implementation compares the serialized byte version
of the objects.
Supports split brain protection SplitBrainProtectionConfig
since 3.10 in cluster
versions 3.10 and higher.
- See Also:
Set
-
Method Summary
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getPartitionKey, getServiceName
Methods inherited from interface com.hazelcast.collection.ICollection
addItemListener, getName, removeItemListener