Interface ForceableHandle

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.lang.Void> force()
      Enforce durability to the entries written by this handle.
    • Method Detail

      • force

        java.util.concurrent.CompletableFuture<java.lang.Void> force()
        Enforce durability to the entries written by this handle.

        This API is useful with WriteFlag.DEFERRED_SYNC, because with that flag writes are acknowledged by the bookie without waiting for a durable write

        Returns:
        an handle to the result