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 IReplicationThrottleControllerpublic void suggestThroughPut(int throughPut)
suggestThroughPut in interface IReplicationThrottleControllerCopyright © GigaSpaces.