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)
Deprecated.
Since 16.4.0 - use
snapshot(ITemplatePacket, SpaceContext) instead. |
void |
snapshot(ITemplatePacket e,
SpaceContext sc) |
void |
unquiesce() |
abort, commit, commit, prepare, prepareAndCommit, renewLease
login
getServiceProxy
checkChunkMapGeneration, executeOperation, executeOperationAsync, executeOperationOneway, isActive, isActiveAndNotSuspended, isActiveAsync
String getName() throws RemoteException
RemoteException
Uuid getSpaceUuid() throws RemoteException
RemoteException
boolean isEmbedded() throws RemoteException
RemoteException
void ping() throws RemoteException
RemoteException
SpaceHealthStatus getSpaceHealthStatus() throws RemoteException
RemoteException
IQueryProcessor getQueryProcessor() throws RemoteException
RemoteException
String getUniqueID() throws RemoteException
RemoteException
Class<?> 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.DemoteFailedException
RemoteException
@Deprecated void snapshot(ITemplatePacket e) throws UnusableEntryException, RemoteException
snapshot(ITemplatePacket, SpaceContext)
instead.void snapshot(ITemplatePacket e, SpaceContext sc) throws UnusableEntryException, RemoteException
void cancel(String entryUID, String classname, int objectType) throws UnknownLeaseException, RemoteException
UnknownLeaseException
RemoteException
long renew(String entryUID, String classname, int objectType, long duration) throws LeaseDeniedException, UnknownLeaseException, RemoteException
Exception[] cancelAll(String[] entryUIDs, String[] classnames, int[] objectTypes) throws RemoteException
RemoteException
Object[] renewAll(String[] entryUIDs, String[] classnames, int[] objectTypes, long[] durations) throws RemoteException
RemoteException
void 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
RemoteException
SpaceConnectResult connect(SpaceConnectRequest request) throws RemoteException
RemoteException
DirectPersistencySyncListBatch getSynchronizationListBatch() throws RemoteException
RemoteException
void quiesce(String description, QuiesceToken token) throws RemoteException
RemoteException
void unquiesce() throws RemoteException
RemoteException
Copyright © GigaSpaces.