public class ConstantReplicationThrottleController extends Object implements IReplicationThrottleController, IReplicationThrottleControllerBuilder
Constructor and Description |
---|
ConstantReplicationThrottleController(int threshold,
long throttleDelay) |
Modifier and Type | Method and Description |
---|---|
IReplicationThrottleController |
createController(String groupName,
String sourceMemberName,
String targetMemberName) |
void |
suggestThroughPut(int throughPut) |
boolean |
throttle(long backlogSize,
int contextSize,
boolean channelActive) |
public ConstantReplicationThrottleController(int threshold, long throttleDelay)
public boolean throttle(long backlogSize, int contextSize, boolean channelActive)
throttle
in interface IReplicationThrottleController
public IReplicationThrottleController createController(String groupName, String sourceMemberName, String targetMemberName)
createController
in interface IReplicationThrottleControllerBuilder
public void suggestThroughPut(int throughPut)
suggestThroughPut
in interface IReplicationThrottleController
Copyright © GigaSpaces.