@InterfaceAudience.Public @InterfaceStability.Unstable public interface ForceableHandle
WriteAdvHandle
,
WriteHandle
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
force()
Enforce durability to the entries written by this handle.
|
java.util.concurrent.CompletableFuture<java.lang.Void> force()
This API is useful with WriteFlag.DEFERRED_SYNC
, because with
that flag writes are acknowledged by the bookie without waiting for a
durable write
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.