Interface TxnStack<E>

Type Parameters:
E -
All Superinterfaces:
Collection<E>, Iterable<E>, TxnCollection<E>, TxnIterable<E>
All Known Implementing Classes:
NaiveTxnStack

public interface TxnStack<E> extends TxnCollection<E>
  • Method Details

    • getCapacity

      int getCapacity()
    • push

      void push(E item)
    • push

      void push(Txn txn, E item)
    • offer

      boolean offer(E item)
    • offer

      boolean offer(Txn txn, E item)
    • pop

      E pop()
    • pop

      E pop(Txn txn)
    • poll

      E poll()
    • poll

      E poll(Txn txn)
    • peek

      E peek()
    • peek

      E peek(Txn txn)