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
public class StaticPool extends AbstractPool
-
-
Constructor Summary
Constructors Constructor Description StaticPool(TargetFactory targetFactory, ScheduledExecutorService scheduledExecutor, int checkPeriod, List<TransportConfiguration> staticConnectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()-
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, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop
-
-
-
-
Constructor Detail
-
StaticPool
public StaticPool(TargetFactory targetFactory, ScheduledExecutorService scheduledExecutor, int checkPeriod, List<TransportConfiguration> staticConnectors)
-
-
Method Detail
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Overrides:
startin classAbstractPool- Throws:
Exception
-
-