public interface CommittableQueue<T>
Modifier and Type | Method and Description |
---|---|
void |
addToTailUncommitted(T element) |
void |
clear() |
void |
commit() |
T |
get(int index) |
T |
getTail() |
boolean |
isEmpty() |
T |
removeFromHead() |
T |
removeFromHeadUncommitted() |
void |
rollback() |
int |
size() |
T get(int index)
void addToTailUncommitted(T element)
T removeFromHeadUncommitted()
void commit()
void rollback()
int size()
boolean isEmpty()
void clear()
T getTail()
T removeFromHead()
Copyright © 2015–2020. All rights reserved.