Package | Description |
---|---|
org.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
Modifier and Type | Method and Description |
---|---|
Xid |
ReplicationManager.begin()
Create a new transaction.
|
Xid |
ReplicationManager.begin(int transaction_mode)
Create a new transaction.
|
static Xid |
Xid.create(Address creator) |
static Xid |
Xid.create(Address creator,
int mode) |
Xid |
ReplicationData.getTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
ReplicationManager.commit(Xid transaction)
Commits all modifications sent to the receivers via
ReplicationManager.send(org.jgroups.Address, byte[], boolean, long, org.jgroups.blocks.Xid, byte[], long, long, boolean) and releases all locks associated with
this transaction. |
void |
ReplicationReceiver.commit(Xid transaction)
Commit the modifications to the locally replicated data and release all locks.
|
protected void |
ReplicationManager.handleCommit(Xid transaction) |
protected void |
ReplicationManager.handleRollback(Xid transaction) |
java.lang.Object |
ReplicationReceiver.receive(Xid transaction,
byte[] data,
byte[] lock_info,
long lock_acquisition_timeout,
long lock_lease_timeout,
boolean use_locks)
Receives data sent by a sender to all group members and applies update to locally replicated data.
|
void |
ReplicationManager.rollback(Xid transaction)
Discards all modifications sent to the receivers via
ReplicationManager.send(org.jgroups.Address, byte[], boolean, long, org.jgroups.blocks.Xid, byte[], long, long, boolean) and releases all locks associated with
this transaction. |
void |
ReplicationReceiver.rollback(Xid transaction)
Discard all modifications and release all locks.
|
RspList |
ReplicationManager.send(Address dest,
byte[] data,
boolean synchronous,
long synchronous_timeout,
Xid transaction,
byte[] lock_info,
long lock_acquisition_timeout,
long lock_lease_timeout,
boolean use_locks)
Sends a request to all members of the group.
|
Constructor and Description |
---|
ReplicationData(int type,
byte[] data,
Xid transaction,
byte[] lock_info,
long lock_acquisition_timeout,
long lock_lease_timeout,
boolean use_locks) |
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.