io.ebeaninternal.server.cluster.ClusterBroadcast Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.cluster;
import io.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 - 2025 Weber Informatics LLC | Privacy Policy