public interface SegmentActionHandler
Rules to load,
drop, broadcast or delete segments.| Modifier and Type | Method and Description |
|---|---|
void |
broadcastSegment(DataSegment segment)
Broadcasts the given segment to all servers that are broadcast targets.
|
void |
deleteSegment(DataSegment segment)
Marks the given segment as unused.
|
void |
replicateSegment(DataSegment segment,
Map<String,Integer> tierToReplicaCount)
Queues load or drop of replicas of the given segment to achieve the
target replication level on all historical tiers.
|
void replicateSegment(DataSegment segment, Map<String,Integer> tierToReplicaCount)
void deleteSegment(DataSegment segment)
void broadcastSegment(DataSegment segment)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.