public static interface SliceSharedAssigner.MergeCallback
SliceSharedAssigner.mergeSlices(long, MergeCallback) for specifying which slices
should be merged.| Modifier and Type | Method and Description |
|---|---|
void |
merge(Long mergeResult,
Iterable<Long> toBeMerged)
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, null if it represents a non-state
namespace.toBeMerged - The list of slices that should be merged into one slice.ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.