Class StaticPool
java.lang.Object
org.apache.activemq.artemis.core.server.routing.pools.AbstractPool
org.apache.activemq.artemis.core.server.routing.pools.StaticPool
- All Implemented Interfaces:
ActiveMQComponent,Pool
-
Constructor Summary
ConstructorsConstructorDescriptionStaticPool(TargetFactory targetFactory, ScheduledExecutorService scheduledExecutor, int checkPeriod, List<TransportConfiguration> staticConnectors) -
Method Summary
Methods inherited from class org.apache.activemq.artemis.core.server.routing.pools.AbstractPool
addTarget, addTarget, addTargetProbe, getAllTargets, getCheckPeriod, getPassword, getQuorumSize, getQuorumTimeout, getReadyTarget, getTarget, getTargetProbes, getTargets, getUsername, isStarted, isTargetReady, removeTarget, removeTargetProbe, setPassword, setQuorumSize, setQuorumTimeout, setUsername, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop
-
Constructor Details
-
StaticPool
public StaticPool(TargetFactory targetFactory, ScheduledExecutorService scheduledExecutor, int checkPeriod, List<TransportConfiguration> staticConnectors)
-
-
Method Details
-
start
- Specified by:
startin interfaceActiveMQComponent- Overrides:
startin classAbstractPool- Throws:
Exception
-