| Package | Description |
|---|---|
| com.avaje.ebeaninternal.api | |
| com.avaje.ebeaninternal.server.cluster |
Clustering service for an application.
|
| com.avaje.ebeaninternal.server.cluster.mcast | |
| com.avaje.ebeaninternal.server.cluster.socket | |
| com.avaje.ebeaninternal.server.core |
Core implementation objects
|
| com.avaje.ebeaninternal.server.transaction |
Transaction implementation
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpiEbeanServer.remoteTransactionEvent(RemoteTransactionEvent event)
An event from another server in the cluster used to notify local
BeanListeners of remote inserts updates and deletes.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteTransactionEvent |
PacketTransactionEvent.getEvent() |
RemoteTransactionEvent |
SerialiseTransactionHelper.read(DataHolder dataHolder)
Convert the byte[] content to RemoteTransactionEvent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterBroadcast.broadcast(RemoteTransactionEvent remoteTransEvent)
Send a transaction event to all the members of the cluster.
|
void |
ClusterManager.broadcast(RemoteTransactionEvent remoteTransEvent)
Send the message headers and payload to every server in the cluster.
|
DataHolder |
SerialiseTransactionHelper.createDataHolder(RemoteTransactionEvent transEvent)
Convert the RemoteTransactionEvent to byte[] content.
|
List<Packet> |
PacketWriter.write(RemoteTransactionEvent transEvent)
Create Packets for a given RemoteTransactionEvent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
McastClusterManager.broadcast(RemoteTransactionEvent remoteTransEvent)
Send the remoteTransEvent to all the other members of the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SocketClusterBroadcast.broadcast(RemoteTransactionEvent remoteTransEvent)
Send the payload to all the members of the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultServer.remoteTransactionEvent(RemoteTransactionEvent event)
Another server in the cluster sent this event so that we can inform local
BeanListeners of inserts updates and deletes that occurred remotely (on
another server in the cluster).
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionManager.remoteTransactionEvent(RemoteTransactionEvent remoteEvent)
Notify local BeanPersistListeners etc of events from another server in the cluster.
|
Copyright © 2014. All Rights Reserved.