All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebeaninternal.server.cluster.ClusterBroadcast Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebeaninternal.server.cluster;

import com.avaje.ebeaninternal.server.transaction.RemoteTransactionEvent;


/**
 * Sends messages to the cluster members.
 */
public interface ClusterBroadcast {

  /**
   * Inform the other cluster members that this instance has come online and
   * start any listeners etc.
   */
  void startup();

  /**
   * Inform the other cluster members that this instance is leaving and
   * shutdown any listeners.
   */
  void shutdown();

  /**
   * Send a transaction event to all the members of the cluster.
   */
  void broadcast(RemoteTransactionEvent remoteTransEvent);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy