Class DiscoveryGroupService
java.lang.Object
org.apache.activemq.artemis.core.server.routing.pools.DiscoveryService
org.apache.activemq.artemis.core.server.routing.pools.DiscoveryGroupService
- All Implemented Interfaces:
DiscoveryListener,ActiveMQComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.activemq.artemis.core.server.routing.pools.DiscoveryService
DiscoveryService.Entry, DiscoveryService.Listener -
Constructor Summary
ConstructorsConstructorDescriptionDiscoveryGroupService(Target localTarget, DiscoveryGroupConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectorsChanged(List<DiscoveryEntry> newEntries) booleanvoidstart()voidstop()Methods inherited from class org.apache.activemq.artemis.core.server.routing.pools.DiscoveryService
fireEntryAddedEvent, fireEntryRemovedEvent, fireEntryUpdatedEvent, getListener, setListenerMethods 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
-
DiscoveryGroupService
-
-
Method Details
-
start
- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceActiveMQComponent
-
connectorsChanged
- Specified by:
connectorsChangedin interfaceDiscoveryListener
-