Interface IRemoteSpace
- All Superinterfaces:
Remote,RemoteOperationsExecutor,RemoteSecuredService,ServiceProxyAccessor,TransactionConstants,TransactionParticipant
- All Known Implementing Classes:
LRMISpaceImpl,SpaceImpl
public interface IRemoteSpace
extends Remote, TransactionParticipant, RemoteSecuredService, ServiceProxyAccessor, RemoteOperationsExecutor
The GigaSpaces remote interface.
-
Field Summary
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING -
Method Summary
Modifier and TypeMethodDescriptionvoidabort(TransactionManager parm1, Object parm2) voidvoidcommit(TransactionManager parm1, Object parm2) voidcommit(TransactionManager parm1, Object parm2, int numOfParticipants) connect(SpaceConnectRequest request) voiddemote(long maxSuspendTime, TimeUnit unit, SpaceContext sc) Demote leadership and become a backup Space, in the specified operation timeout.getName()returns the universal unique identifier of the remote spaceGenerates and returns a unique idbooleanClass<?>loadRemoteClass(String className) voidping()prepare(TransactionManager mgr, long id, boolean needClusteredProxy) intprepare(TransactionManager parm1, Object parm2) prepare(TransactionManager parm1, Object parm2, boolean needClusteredProxy) intprepare(TransactionManager parm1, Object parm2, int numOfParticipants) prepare(TransactionManager parm1, Object parm2, int numOfParticipants, boolean needClusteredProxy) intprepareAndCommit(TransactionManager parm1, Object parm2) voidquiesce(String description, QuiesceToken token, boolean readonly) longObject[]voidDeprecated.voidsnapshot(ITemplatePacket e, SpaceContext sc) voidMethods inherited from interface com.gigaspaces.internal.remoting.RemoteOperationsExecutor
checkChunkMapGeneration, executeOperation, executeOperationAsync, executeOperationOneway, isActive, isActiveAndNotSuspended, isActiveAsyncMethods inherited from interface com.gigaspaces.security.service.RemoteSecuredService
loginMethods inherited from interface com.sun.jini.start.ServiceProxyAccessor
getServiceProxyMethods inherited from interface net.jini.core.transaction.server.TransactionParticipant
abort, commit, commit, prepare, prepareAndCommit, renewLease
-
Method Details
-
getName
- Throws:
RemoteException
-
getSpaceUuid
returns the universal unique identifier of the remote space- Throws:
RemoteException
-
isEmbedded
- Throws:
RemoteException
-
ping
- Throws:
RemoteException
-
getSpaceHealthStatus
- Throws:
RemoteException
-
getQueryProcessor
- Throws:
RemoteException
-
getUniqueID
Generates and returns a unique id- Throws:
RemoteException
-
loadRemoteClass
-
demote
void demote(long maxSuspendTime, TimeUnit unit, SpaceContext sc) throws DemoteFailedException, RemoteException Demote leadership and become a backup Space, in the specified operation timeout.- Parameters:
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.- Throws:
DemoteFailedExceptionRemoteException- Since:
- 14.0.0
-
snapshot
Deprecated.Since 16.4.0 - usesnapshot(ITemplatePacket, SpaceContext)instead. -
snapshot
-
cancel
void cancel(String entryUID, String classname, int objectType) throws UnknownLeaseException, RemoteException - Throws:
UnknownLeaseExceptionRemoteException
-
renew
long renew(String entryUID, String classname, int objectType, long duration) throws LeaseDeniedException, UnknownLeaseException, RemoteException -
cancelAll
Exception[] cancelAll(String[] entryUIDs, String[] classnames, int[] objectTypes) throws RemoteException - Throws:
RemoteException
-
renewAll
Object[] renewAll(String[] entryUIDs, String[] classnames, int[] objectTypes, long[] durations) throws RemoteException - Throws:
RemoteException
-
abort
void abort(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException -
commit
void commit(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException -
commit
void commit(TransactionManager parm1, Object parm2, int numOfParticipants) throws UnknownTransactionException, RemoteException -
prepare
int prepare(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException -
prepare
int prepare(TransactionManager parm1, Object parm2, int numOfParticipants) throws UnknownTransactionException, RemoteException -
prepare
Object prepare(TransactionManager mgr, long id, boolean needClusteredProxy) throws UnknownTransactionException, RemoteException -
prepare
Object prepare(TransactionManager parm1, Object parm2, boolean needClusteredProxy) throws UnknownTransactionException, RemoteException -
prepare
Object prepare(TransactionManager parm1, Object parm2, int numOfParticipants, boolean needClusteredProxy) throws UnknownTransactionException, RemoteException -
prepareAndCommit
int prepareAndCommit(TransactionManager parm1, Object parm2) throws UnknownTransactionException, RemoteException -
getReplicationRouterConnectionProxy
- Throws:
RemoteException
-
connect
- Throws:
RemoteException
-
getSynchronizationListBatch
- Throws:
RemoteException
-
quiesce
- Throws:
RemoteException
-
unquiesce
- Throws:
RemoteException
-
snapshot(ITemplatePacket, SpaceContext)instead.