E- the type of elements maintained by this set
public interface TransactionalSet<E> extends TransactionalObject
Supports split brain protection
SplitBrainProtectionConfig since 3.10 in
cluster versions 3.10 and higher.
|Modifier and Type||Method and Description|
Add new item to transactional set.
Remove item from transactional set.
Returns the size of the set.
boolean add(E e)
e- item added to transactional set
trueif item is added successfully
boolean remove(E e)
e- item removed from transactional set
trueif item is remove successfully
Copyright © 2020 Hazelcast, Inc.. All rights reserved.