Package | Description |
---|---|
com.pushtechnology.diffusion.client.features.control.clients |
Unified API - Client Control Features.
|
Modifier and Type | Method and Description |
---|---|
MessageQueuePolicy.ThrottlerType |
MessageQueuePolicy.getThrottlerType() |
static MessageQueuePolicy.ThrottlerType |
MessageQueuePolicy.ThrottlerType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageQueuePolicy.ThrottlerType[] |
MessageQueuePolicy.ThrottlerType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<C> void |
ClientControl.setThrottled(SessionId sessionId,
MessageQueuePolicy.ThrottlerType throttlerType,
int throttlingLimit,
C context,
ClientControl.ClientContextCallback<C> callback)
Instruct a client session to conflate its message queue, and to throttle
the queue according to the provided parameters.
|
void |
ClientControl.setThrottled(SessionId sessionId,
MessageQueuePolicy.ThrottlerType throttlerType,
int throttlingLimit,
ClientControl.ClientCallback callback)
Instruct a client session to conflate its message queue, and to throttle
the queue according to the provided parameters.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.