Package com.hazelcast.collection
Interface ISet<E>
-
- Type Parameters:
E
- the type of elements maintained by this set
- All Superinterfaces:
java.util.Collection<E>
,DistributedObject
,ICollection<E>
,java.lang.Iterable<E>
,java.util.Set<E>
public interface ISet<E> extends java.util.Set<E>, ICollection<E>
Concurrent, distributed implementation ofSet
Note: This class is not a general-purpose
Set
implementation! While this class implements theSet
interface, it intentionally violatesSet
's general contract, which mandates the use of theequals()
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalSetStats
getLocalSetStats()
ReturnsLocalSetStats
for this collection.-
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getDestroyContextForTenant, getPartitionKey, getServiceName
-
Methods inherited from interface com.hazelcast.collection.ICollection
addItemListener, getName, removeItemListener
-
-
-
-
Method Detail
-
getLocalSetStats
LocalSetStats getLocalSetStats()
ReturnsLocalSetStats
for this collection.- Returns:
- this collection's local statistics.
-
-