Interface NodeStateEntryList
-
- All Known Implementing Classes:
FlatFileBufferLinkedList
,PersistedLinkedList
,PersistedLinkedListV2
public interface NodeStateEntryList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(@NotNull NodeStateEntry item)
Add an item at the tail of the list.void
close()
long
estimatedMemoryUsage()
boolean
isEmpty()
Iterator<NodeStateEntry>
iterator()
Get an iterator to iterate over the whole listNodeStateEntry
remove()
Remove the first item from the list.int
size()
-
-
-
Method Detail
-
add
void add(@NotNull @NotNull NodeStateEntry item)
Add an item at the tail of the list.
-
remove
NodeStateEntry remove()
Remove the first item from the list.- Returns:
- the removed item
-
estimatedMemoryUsage
long estimatedMemoryUsage()
-
size
int size()
-
iterator
Iterator<NodeStateEntry> iterator()
Get an iterator to iterate over the whole list
-
isEmpty
boolean isEmpty()
-
close
void close()
-
-