|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SlowConsumerStrategy
Interface for a strategy for dealing with slow consumers
| Method Summary | |
|---|---|
void |
addDestination(Destination destination)
For Strategies that need to examine assigned destination for slow consumers periodically the destination is assigned here. |
void |
setBrokerService(Broker broker)
Sets the Broker instance which can provide a Scheduler among other things. |
void |
slowConsumer(ConnectionContext context,
Subscription subs)
Slow consumer event. |
| Method Detail |
|---|
void slowConsumer(ConnectionContext context,
Subscription subs)
context - Connection context of the subscription.subs - The subscription object for the slow consumer.void setBrokerService(Broker broker)
broker - The running Broker.void addDestination(Destination destination)
destination - A destination to add to a watch list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||