public interface SingleStreamSpiller extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close releases/removes all underlying resources used during spilling
like for example all created temporary files.
|
com.google.common.util.concurrent.ListenableFuture<List<Page>> |
getAllSpilledPages()
Initiates read of previously spilled pages.
|
Iterator<Page> |
getSpilledPages()
Returns list of previously spilled Pages as a single stream.
|
long |
getSpilledPagesInMemorySize()
Returns estimate size of pages that would be returned by
getAllSpilledPages(). |
com.google.common.util.concurrent.ListenableFuture<?> |
spill(Iterator<Page> page)
Initiate spilling of pages stream.
|
default com.google.common.util.concurrent.ListenableFuture<?> |
spill(Page page)
Initiate spilling of single page.
|
com.google.common.util.concurrent.ListenableFuture<?> spill(Iterator<Page> page)
default com.google.common.util.concurrent.ListenableFuture<?> spill(Page page)
Iterator<Page> getSpilledPages()
long getSpilledPagesInMemorySize()
getAllSpilledPages().com.google.common.util.concurrent.ListenableFuture<List<Page>> getAllSpilledPages()
Future will be complete once all pages are read.void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2012–2019. All rights reserved.