public class FlatFileBufferLinkedList extends Object implements NodeStateEntryList
| Constructor and Description |
|---|
FlatFileBufferLinkedList() |
FlatFileBufferLinkedList(long memLimit) |
| Modifier and Type | Method and 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 list
|
NodeStateEntry |
remove()
Remove the first item from the list.
|
int |
size() |
public FlatFileBufferLinkedList()
public FlatFileBufferLinkedList(long memLimit)
public void add(@NotNull
@NotNull NodeStateEntry item)
NodeStateEntryListadd in interface NodeStateEntryListpublic NodeStateEntry remove()
NodeStateEntryListremove in interface NodeStateEntryListpublic Iterator<NodeStateEntry> iterator()
NodeStateEntryListiterator in interface NodeStateEntryListpublic int size()
size in interface NodeStateEntryListpublic boolean isEmpty()
isEmpty in interface NodeStateEntryListpublic long estimatedMemoryUsage()
estimatedMemoryUsage in interface NodeStateEntryListpublic void close()
close in interface NodeStateEntryListCopyright © 2012–2020 The Apache Software Foundation. All rights reserved.