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
public class DiscoveryGroupService extends DiscoveryService implements DiscoveryListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.activemq.artemis.core.server.routing.pools.DiscoveryService
DiscoveryService.Entry, DiscoveryService.Listener
-
-
Constructor Summary
Constructors Constructor Description DiscoveryGroupService(Target localTarget, DiscoveryGroupConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnectorsChanged(List<DiscoveryEntry> newEntries)booleanisStarted()voidstart()voidstop()-
Methods inherited from class org.apache.activemq.artemis.core.server.routing.pools.DiscoveryService
fireEntryAddedEvent, fireEntryRemovedEvent, fireEntryUpdatedEvent, getListener, setListener
-
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
-
DiscoveryGroupService
public DiscoveryGroupService(Target localTarget, DiscoveryGroupConfiguration config)
-
-
Method Detail
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponent
-
connectorsChanged
public void connectorsChanged(List<DiscoveryEntry> newEntries)
- Specified by:
connectorsChangedin interfaceDiscoveryListener
-
-