public CompletableFuture < Pair < VersionedTransactionData , List < StreamSegmentRecord > > > createTxn ( final String scope , final String stream , final long lease , final OperationContext contextOpt ) { final OperationContext context = getNonNullOperationContext ( scope , stream , contextOpt ) ; return createTxnBody ( scope , stream , lease , context ) ; }
Create transaction .