E
- the type of elements maintained by this setpublic interface TransactionalSet<E> extends TransactionalObject
ISet
.
Supports split brain protection SplitBrainProtectionConfig
since 3.10 in
cluster versions 3.10 and higher.
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e)
Add new item to transactional set.
|
boolean |
remove(E e)
Remove item from transactional set.
|
int |
size()
Returns the size of the set.
|
destroy, getDestroyContextForTenant, getName, getPartitionKey, getServiceName
boolean add(E e)
e
- item added to transactional settrue
if item is added successfullyboolean remove(E e)
e
- item removed from transactional settrue
if item is remove successfullyint size()
Copyright © 2023 Hazelcast, Inc.. All rights reserved.