public class ReplicationThrottler extends Object
Constructor and Description |
---|
ReplicationThrottler(int maxReplicants,
int maxLifetime) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateReplicant(String tier) |
boolean |
canDestroyReplicant(String tier) |
void |
registerReplicantCreation(String tier,
String segmentId,
String serverId) |
void |
registerReplicantTermination(String tier,
String segmentId,
String serverId) |
void |
unregisterReplicantCreation(String tier,
String segmentId,
String serverId) |
void |
unregisterReplicantTermination(String tier,
String segmentId,
String serverId) |
void |
updateParams(int maxReplicants,
int maxLifetime) |
void |
updateReplicationState(String tier) |
void |
updateTerminationState(String tier) |
public ReplicationThrottler(int maxReplicants, int maxLifetime)
public void updateParams(int maxReplicants, int maxLifetime)
public void updateReplicationState(String tier)
public void updateTerminationState(String tier)
public boolean canCreateReplicant(String tier)
public boolean canDestroyReplicant(String tier)
public void registerReplicantCreation(String tier, String segmentId, String serverId)
public void unregisterReplicantCreation(String tier, String segmentId, String serverId)
public void registerReplicantTermination(String tier, String segmentId, String serverId)
Copyright © 2011–2015. All rights reserved.