public class LocalExchangeSink extends Object
| Constructor and Description |
|---|
LocalExchangeSink(LocalExchanger exchanger,
Consumer<LocalExchangeSink> onFinish) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPage(Page page) |
void |
finish() |
static LocalExchangeSink |
finishedLocalExchangeSink() |
boolean |
isFinished() |
com.google.common.util.concurrent.ListenableFuture<?> |
waitForWriting() |
public LocalExchangeSink(LocalExchanger exchanger, Consumer<LocalExchangeSink> onFinish)
public static LocalExchangeSink finishedLocalExchangeSink()
public void finish()
public boolean isFinished()
public void addPage(Page page)
public com.google.common.util.concurrent.ListenableFuture<?> waitForWriting()
Copyright © 2012–2019. All rights reserved.