Class EventReplicationManager
java.lang.Object
com.atlassian.jira.cluster.events.EventReplicationManager
- All Implemented Interfaces:
InitializingComponent
Replicates local events to other nodes.
-
Constructor Summary
ConstructorsConstructorDescriptionEventReplicationManager(EventSerializer eventSerializer, ClusterManager clusterManager, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all the beans are constructed and the ApplicationContext is fully populated.voidonReplicatedEvent(ReplicatedEvent replicatedEvent)
-
Constructor Details
-
EventReplicationManager
public EventReplicationManager(EventSerializer eventSerializer, ClusterManager clusterManager, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
afterInstantiation
Description copied from interface:InitializingComponentCalled after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
onReplicatedEvent
-