Package org.apache.bookkeeper.client.api
Interface OpBuilder<T>
-
- All Known Subinterfaces:
CreateAdvBuilder
,CreateBuilder
,DeleteBuilder
,ListLedgersResultBuilder
,OpenBuilder
- All Known Implementing Classes:
LedgerCreateOp.CreateBuilderImpl
,LedgerDeleteOp.DeleteBuilderImpl
,LedgerOpenOp.OpenBuilderImpl
,OpenBuilderBase
@Public @Unstable public interface OpBuilder<T>
Base interface for builders.- Since:
- 4.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<T>
execute()
Start the operation and return an handle to the result.
-
-
-
Method Detail
-
execute
java.util.concurrent.CompletableFuture<T> execute()
Start the operation and return an handle to the result.- Returns:
- an handle to access the result of the operation
- See Also:
to have a simple method to access the result
-
-