|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jbi.messaging.routing.module.FlowControllerModule
public class FlowControllerModule
The Flow Controller Module.
The configured flows to control are activating in the Router Monitor. Then
the module calculates at each RATE_CALCULATE_PERIOD the effective
rate on the controlled flow.
It tries to regulates the flow according the target rate, by slowing down the flow if necessary, using the priority Priority Queues.
| Field Summary | |
|---|---|
static java.lang.String |
REGULATION_CONFIGURATION_FILE
|
| Constructor Summary | |
|---|---|
FlowControllerModule()
|
|
| Method Summary | |
|---|---|
void |
electEndpoints(java.util.Map<ServiceEndpoint,TransportSendContext> electedEndpoints,
ComponentContext sourceComponentContext,
org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
Elect a list of candidate endpoints to be destination of the exchange. |
protected void |
start()
Start the Fractal component |
protected void |
stop()
Stop the Fractal component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REGULATION_CONFIGURATION_FILE
| Constructor Detail |
|---|
public FlowControllerModule()
| Method Detail |
|---|
public void electEndpoints(java.util.Map<ServiceEndpoint,TransportSendContext> electedEndpoints,
ComponentContext sourceComponentContext,
org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
throws RoutingException
SenderModule
electEndpoints in interface SenderModuleexchangeDecorator - the exchange decorator to send
RoutingException
protected void start()
throws org.ow2.petals.regulation.RegulationException
org.ow2.petals.regulation.RegulationException
RoutingExceptionprotected void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||