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>
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:
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.hazelcast.core.DistributedObject
destroy, getDestroyContextForTenant, getPartitionKey, getServiceNameMethods inherited from interface com.hazelcast.collection.ICollection
addItemListener, getName, removeItemListener
-
Method Details
-
getLocalSetStats
LocalSetStats getLocalSetStats()ReturnsLocalSetStatsfor this collection.- Returns:
- this collection's local statistics.
-