private CompletableFuture<Void> appendData(Collection<String> segmentNames, HashMap<String, ByteArrayOutputStream> segmentContents, HashMap<String, Long> lengths, StreamSegmentStore store) { return execute(createAppendDataRequests(segmentNames, segmentContents, lengths), store); }
private CompletableFuture<Void> mergeTransactions(HashMap<String, ArrayList<String>> transactionsBySegment, HashMap<String, Long> lengths, HashMap<String, ByteArrayOutputStream> segmentContents, StreamSegmentStore store) throws Exception { return execute(createMergeTransactionsRequests(transactionsBySegment, lengths, segmentContents), store); }
private CompletableFuture<Void> sealSegments(Collection<String> segmentNames, StreamSegmentStore store) { return execute(createSealSegmentsRequests(segmentNames), store); }