TransactionalList¶
-
class
TransactionalList(name, transaction)¶ Bases:
hazelcast.proxy.base.TransactionalProxyTransactional implementation of
List.-
add(item)¶ Transactional implementation of
List.add(item)- Parameters
item – (object), the new item to be added.
- Returns
(bool),
trueif the item is added successfully,falseotherwise.
-
remove(item)¶ Transactional implementation of
List.remove(item)- Parameters
item – (object), the specified item to be removed.
- Returns
(bool),
trueif the item is removed successfully,falseotherwise.
-
size()¶ Transactional implementation of
List.size()- Returns
(int), the size of the list.
-