public static interface SliceSharedAssigner.MergeCallback
SliceSharedAssigner.mergeSlices(long, MergeCallback)for specifying which slices should be merged.
|Modifier and Type||Method and Description|
Specifies that states of the given slices should be merged into the result slice.
void merge(@Nullable Long mergeResult, Iterable<Long> toBeMerged) throws Exception
mergeResult- The resulting merged slice,
nullif it represents a non-state namespace.
toBeMerged- The list of slices that should be merged into one slice.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.