public static class RocksDBSegmentLogStorage.BarrierWriteContext extends Object implements RocksDBLogStorage.WriteContext
| 构造器和说明 |
|---|
BarrierWriteContext() |
public void startJob()
RocksDBLogStorage.WriteContextstartJob 在接口中 RocksDBLogStorage.WriteContextpublic void addFinishHook(Runnable r)
RocksDBLogStorage.WriteContextaddFinishHook 在接口中 RocksDBLogStorage.WriteContextpublic void finishJob()
RocksDBLogStorage.WriteContextfinishJob 在接口中 RocksDBLogStorage.WriteContextpublic void setError(Exception e)
RocksDBLogStorage.WriteContextsetError 在接口中 RocksDBLogStorage.WriteContexte - exceptionpublic void joinAll()
throws InterruptedException,
IOException
RocksDBLogStorage.WriteContextjoinAll 在接口中 RocksDBLogStorage.WriteContextInterruptedExceptionIOExceptionCopyright © 2021. All rights reserved.