TransactionalList

class TransactionalList(name, transaction)

Bases: hazelcast.proxy.base.TransactionalProxy

Transactional implementation of List.

add(item)

Transactional implementation of List.add(item)

Parameters

item – (object), the new item to be added.

Returns

(bool), true if the item is added successfully, false otherwise.

remove(item)

Transactional implementation of List.remove(item)

Parameters

item – (object), the specified item to be removed.

Returns

(bool), true if the item is removed successfully, false otherwise.

size()

Transactional implementation of List.size()

Returns

(int), the size of the list.