public interface IRemoteSpace extends Remote, TransactionParticipant, RemoteSecuredService, ServiceProxyAccessor, RemoteOperationsExecutor
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING| Modifier and Type | Method and Description |
|---|---|
void |
abort(TransactionManager parm1,
Object parm2) |
void |
cancel(String entryUID,
String classname,
int objectType) |
Exception[] |
cancelAll(String[] entryUIDs,
String[] classnames,
int[] objectTypes) |
void |
commit(TransactionManager parm1,
Object parm2) |
void |
commit(TransactionManager parm1,
Object parm2,
int numOfParticipants) |
SpaceConnectResult |
connect(SpaceConnectRequest request) |
void |
demote(long maxSuspendTime,
TimeUnit unit,
SpaceContext sc)
Demote leadership and become a backup Space, in the specified operation timeout.
|
String |
getName() |
IQueryProcessor |
getQueryProcessor() |
IReplicationConnectionProxy |
getReplicationRouterConnectionProxy() |
SpaceHealthStatus |
getSpaceHealthStatus() |
Uuid |
getSpaceUuid()
returns the universal unique identifier of the remote space
|
DirectPersistencySyncListBatch |
getSynchronizationListBatch() |
String |
getUniqueID()
Generates and returns a unique id
|
boolean |
isEmbedded() |
Class<?> |
loadRemoteClass(String className) |
void |
ping() |
Object |
prepare(TransactionManager mgr,
long id,
boolean needClusteredProxy) |
int |
prepare(TransactionManager parm1,
Object parm2) |
Object |
prepare(TransactionManager parm1,
Object parm2,
boolean needClusteredProxy) |
int |
prepare(TransactionManager parm1,
Object parm2,
int numOfParticipants) |
Object |
prepare(TransactionManager parm1,
Object parm2,
int numOfParticipants,
boolean needClusteredProxy) |
int |
prepareAndCommit(TransactionManager parm1,
Object parm2) |
void |
quiesce(String description,
QuiesceToken token) |
long |
renew(String entryUID,
String classname,
int objectType,
long duration) |
Object[] |
renewAll(String[] entryUIDs,
String[] classnames,
int[] objectTypes,
long[] durations) |
void |
snapshot(ITemplatePacket e) |
void |
unquiesce() |
abort, commit, commit, prepare, prepareAndCommit, renewLeaselogingetServiceProxycheckChunkMapGeneration, executeOperation, executeOperationAsync, executeOperationOneway, isActive, isActiveAndNotSuspended, isActiveAsyncString getName() throws RemoteException
RemoteExceptionUuid getSpaceUuid() throws RemoteException
RemoteExceptionboolean isEmbedded()
throws RemoteException
RemoteExceptionvoid ping() throws RemoteException
RemoteExceptionSpaceHealthStatus getSpaceHealthStatus() throws RemoteException
RemoteExceptionIQueryProcessor getQueryProcessor() throws RemoteException
RemoteExceptionString getUniqueID() throws RemoteException
RemoteExceptionClass<?> loadRemoteClass(String className) throws RemoteException, ClassNotFoundException
void demote(long maxSuspendTime,
TimeUnit unit,
SpaceContext sc)
throws DemoteFailedException,
RemoteException
maxSuspendTime - The maximum time allowed to be in suspended state, after which the operation is aborted.unit - The unit of time for the maxSuspendTime parameter.sc - The SpaceContext for security check in the server side.DemoteFailedExceptionRemoteExceptionvoid snapshot(ITemplatePacket e) throws UnusableEntryException, RemoteException
void cancel(String entryUID, String classname, int objectType) throws UnknownLeaseException, RemoteException
UnknownLeaseExceptionRemoteExceptionlong renew(String entryUID, String classname, int objectType, long duration) throws LeaseDeniedException, UnknownLeaseException, RemoteException
Exception[] cancelAll(String[] entryUIDs, String[] classnames, int[] objectTypes) throws RemoteException
RemoteExceptionObject[] renewAll(String[] entryUIDs, String[] classnames, int[] objectTypes, long[] durations) throws RemoteException
RemoteExceptionvoid abort(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException
void commit(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException
void commit(TransactionManager parm1, Object parm2, int numOfParticipants) throws UnknownTransactionException, RemoteException
int prepare(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException
int prepare(TransactionManager parm1, Object parm2, int numOfParticipants) throws UnknownTransactionException, RemoteException
Object prepare(TransactionManager mgr, long id, boolean needClusteredProxy) throws UnknownTransactionException, RemoteException
Object prepare(TransactionManager parm1, Object parm2, boolean needClusteredProxy) throws UnknownTransactionException, RemoteException
Object prepare(TransactionManager parm1, Object parm2, int numOfParticipants, boolean needClusteredProxy) throws UnknownTransactionException, RemoteException
int prepareAndCommit(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException
IReplicationConnectionProxy getReplicationRouterConnectionProxy() throws RemoteException
RemoteExceptionSpaceConnectResult connect(SpaceConnectRequest request) throws RemoteException
RemoteExceptionDirectPersistencySyncListBatch getSynchronizationListBatch() throws RemoteException
RemoteExceptionvoid quiesce(String description, QuiesceToken token) throws RemoteException
RemoteExceptionvoid unquiesce()
throws RemoteException
RemoteExceptionCopyright © GigaSpaces.