Interface TierShuffleHandler
-
public interface TierShuffleHandlerA handler to process the call back result from each tier, the callbacks can be some events, some errors, some exceptions, etc. If you want to process some new callbacks, you can add more methods to this handler interface.When the tier happens some events, the tier will call these methods, then the framework can process the events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFatalError(Throwable throwable)A callback to process the fatal error (if the error exists).CompletableFuture<?>onReleasePartitions(Collection<TieredStoragePartitionId> partitionIds)A callback to process the event of releasing a collection of tiered result partitions.
-
-
-
Method Detail
-
onReleasePartitions
CompletableFuture<?> onReleasePartitions(Collection<TieredStoragePartitionId> partitionIds)
A callback to process the event of releasing a collection of tiered result partitions.
-
onFatalError
void onFatalError(Throwable throwable)
A callback to process the fatal error (if the error exists).
-
-