Class DiscoveryService
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.routing.pools.DiscoveryService
-
- All Implemented Interfaces:
ActiveMQComponent
- Direct Known Subclasses:
DiscoveryGroupService
public abstract class DiscoveryService extends Object implements ActiveMQComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDiscoveryService.Entrystatic interfaceDiscoveryService.Listener
-
Constructor Summary
Constructors Constructor Description DiscoveryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfireEntryAddedEvent(DiscoveryService.Entry entry)protected voidfireEntryRemovedEvent(DiscoveryService.Entry entry)protected voidfireEntryUpdatedEvent(DiscoveryService.Entry oldEntry, DiscoveryService.Entry newEntry)DiscoveryService.ListenergetListener()voidsetListener(DiscoveryService.Listener listener)-
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, isStarted, start, stop
-
-
-
-
Method Detail
-
getListener
public DiscoveryService.Listener getListener()
-
setListener
public void setListener(DiscoveryService.Listener listener)
-
fireEntryAddedEvent
protected void fireEntryAddedEvent(DiscoveryService.Entry entry)
-
fireEntryRemovedEvent
protected void fireEntryRemovedEvent(DiscoveryService.Entry entry)
-
fireEntryUpdatedEvent
protected void fireEntryUpdatedEvent(DiscoveryService.Entry oldEntry, DiscoveryService.Entry newEntry)
-
-