public class BacklogAdjustedThrottleController extends Object implements IReplicationThrottleController
Constructor and Description |
---|
BacklogAdjustedThrottleController(int maxTPWhenInactive,
int minTPWhenActive,
int threshold,
int sampleRate,
int finalStageLength,
String groupName,
String sourceMemberName,
String targetMemberName,
boolean throttleWhenInactive) |
Modifier and Type | Method and Description |
---|---|
void |
suggestThroughPut(int throughPut) |
boolean |
throttle(long backlogSize,
int contextSize,
boolean channelActive) |
public boolean throttle(long backlogSize, int contextSize, boolean channelActive)
throttle
in interface IReplicationThrottleController
public void suggestThroughPut(int throughPut)
suggestThroughPut
in interface IReplicationThrottleController
Copyright © GigaSpaces.