Interface TransactionalList<E>

Type Parameters:
E - the type of elements maintained by this list
All Superinterfaces:
DistributedObject, TransactionalObject

public interface TransactionalList<E>
extends TransactionalObject
Transactional implementation of IList.

Supports split brain protection SplitBrainProtectionConfig since 3.10 in cluster versions 3.10 and higher.

  • Method Details

    • add

      boolean add​(E e)
      Adds a new item to the transactional list.
      Parameters:
      e - the new item added to the transactional list
      Returns:
      true if the item is added successfully
    • remove

      boolean remove​(E e)
      Removes an item from the transactional list.
      Parameters:
      e - item to remove the transactional list
      Returns:
      true if the item is removed successfully
    • size

      int size()
      Returns the size of the list.
      Returns:
      the size of the list