public abstract class BufferedUpdateEventPublisher<T> extends Object
Constructor and Description |
---|
BufferedUpdateEventPublisher(STOMPUpdatePublisher stompUpdatePublisher) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
protected org.apache.ambari.server.events.publishers.BufferedUpdateEventPublisher.MergingRunnable |
getScheduledPublisher(com.google.common.eventbus.EventBus m_eventBus) |
abstract STOMPEvent.Type |
getType() |
int |
hashCode() |
abstract void |
mergeBufferAndPost(List<T> events,
com.google.common.eventbus.EventBus m_eventBus) |
void |
publish(T event,
com.google.common.eventbus.EventBus m_eventBus) |
protected List<T> |
retrieveBuffer() |
public BufferedUpdateEventPublisher(STOMPUpdatePublisher stompUpdatePublisher)
public abstract STOMPEvent.Type getType()
public void publish(T event, com.google.common.eventbus.EventBus m_eventBus)
protected org.apache.ambari.server.events.publishers.BufferedUpdateEventPublisher.MergingRunnable getScheduledPublisher(com.google.common.eventbus.EventBus m_eventBus)
public abstract void mergeBufferAndPost(List<T> events, com.google.common.eventbus.EventBus m_eventBus)
Copyright © 2022 Apache Software Foundation. All rights reserved.