public interface

MessageEvent

com.atlassian.bitbucket.topic.MessageEvent<T>

Class Overview

Represents a message being published to a topic

Summary

Public Methods
@Nonnull T getMessage()
@Nonnull Date getPublishTime()
@Nonnull ClusterNode getSource()
@Nonnull String getTopic()

Public Methods

@Nonnull public T getMessage ()

Returns
  • the message that was published

@Nonnull public Date getPublishTime ()

Returns
  • the time the message was published

@Nonnull public ClusterNode getSource ()

Returns
  • the node the message was published on

@Nonnull public String getTopic ()

Returns
  • the topic the message was published to