public class ReplicationThrottler extends Object
| Constructor and Description |
|---|
ReplicationThrottler(int maxReplicants,
int maxLifetime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateReplicant(String tier) |
void |
registerReplicantCreation(String tier,
SegmentId segmentId,
String serverId) |
void |
unregisterReplicantCreation(String tier,
SegmentId segmentId) |
void |
updateParams(int maxReplicants,
int maxLifetime) |
void |
updateReplicationState(String tier) |
public ReplicationThrottler(int maxReplicants,
int maxLifetime)
public void updateParams(int maxReplicants,
int maxLifetime)
public void updateReplicationState(String tier)
public boolean canCreateReplicant(String tier)
public void registerReplicantCreation(String tier, SegmentId segmentId, String serverId)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.