public class RMIAdapter extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CTS_MANAGER |
static int |
STS_MANAGER |
| Constructor and Description |
|---|
RMIAdapter(CertifierReplica certifierReplica,
String rpc_mechanism) |
| Modifier and Type | Method and Description |
|---|---|
PeerResponse |
abort(long startTS,
long transactionId,
boolean bReleaseLock,
int serverId) |
PeerResponse |
commit(long startTS,
long commitTS,
long transactionId,
int serverId) |
long[] |
getCtsSts() |
long |
getGTS() |
long |
getSTS() |
long |
reportCompletion(long commitTS) |
long |
reportCompletion(Vector<Long> commitTSList) |
PeerResponse |
validate(long startTS,
RWSetInfo rwSet,
long transactionId,
int serverId) |
public static final int STS_MANAGER
public static final int CTS_MANAGER
public RMIAdapter(CertifierReplica certifierReplica, String rpc_mechanism)
public long reportCompletion(long commitTS)
throws RemoteException
RemoteExceptionpublic long reportCompletion(Vector<Long> commitTSList) throws RemoteException
RemoteExceptionpublic long getGTS()
throws RemoteException
RemoteExceptionpublic long getSTS()
throws RemoteException
RemoteExceptionpublic long[] getCtsSts()
throws RemoteException
RemoteExceptionpublic PeerResponse commit(long startTS, long commitTS, long transactionId, int serverId) throws RemoteException
RemoteExceptionpublic PeerResponse abort(long startTS, long transactionId, boolean bReleaseLock, int serverId) throws RemoteException
RemoteExceptionpublic PeerResponse validate(long startTS, RWSetInfo rwSet, long transactionId, int serverId) throws RemoteException
RemoteException