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