|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Xid | |
---|---|
org.jgroups.blocks | Provides building blocks that are layered on top of channels. |
Uses of Xid in org.jgroups.blocks |
---|
Methods in org.jgroups.blocks that return Xid | |
---|---|
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()
|
Methods in org.jgroups.blocks with parameters of type Xid | |
---|---|
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. |
Constructors in org.jgroups.blocks with parameters of type Xid | |
---|---|
ReplicationData(int type,
byte[] data,
Xid transaction,
byte[] lock_info,
long lock_acquisition_timeout,
long lock_lease_timeout,
boolean use_locks)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |