public static interface RocksDBLogStorage.WriteContext
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
addFinishHook(Runnable r)
Adds a callback that will be invoked after all sub jobs finish.
|
default void |
finishJob()
Finish a sub job
|
default void |
joinAll()
Wait for all sub jobs finish.
|
default void |
setError(Exception e)
Set an exception to context.
|
default void |
startJob()
Start a sub job.
|
default void startJob()
default void finishJob()
default void addFinishHook(Runnable r)
default void setError(Exception e)
e - exceptiondefault void joinAll()
throws InterruptedException,
IOException
Copyright © 2021. All rights reserved.