Class DefaultScheduler
java.lang.Object
com.swiftmq.impl.routing.single.schedule.Scheduler
com.swiftmq.impl.routing.single.schedule.DefaultScheduler
- All Implemented Interfaces:
POSchedulerVisitor
,DeliveryCallback
- Direct Known Subclasses:
RoundRobinScheduler
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDefaultScheduler
(SwiftletContext ctx, String destinationRouter, String queueName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
protected RoutingConnection
int
void
removeRoute
(Route route) void
removeRoutingConnection
(RoutingConnection routingConnection) toString()
Methods inherited from class com.swiftmq.impl.routing.single.schedule.Scheduler
connectionAdded, connectionRemoved, delivered, enqueueClose, getQueueName, visit, visit, visit, visit, visit
-
Constructor Details
-
DefaultScheduler
-
-
Method Details
-
getNextConnection
- Specified by:
getNextConnection
in classScheduler
-
addRoute
-
removeRoute
- Specified by:
removeRoute
in classScheduler
-
removeRoutingConnection
- Specified by:
removeRoutingConnection
in classScheduler
-
getNumberConnections
public int getNumberConnections()- Specified by:
getNumberConnections
in classScheduler
-
close
public void close() -
toString
-