Interface IDirectSpaceProxy
- All Superinterfaces:
ActionMaker,IDotnetProxyAssociated,IJSpace,IPojoSpace,ISpaceProxy,JavaSpace,SecuredService
- All Known Implementing Classes:
AbstractDirectSpaceProxy,SpaceProxyImpl
A direct space proxy working on an actual space.
- Author:
- GigaSpaces
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoiddemote(long maxSuspendTime, TimeUnit timeUnit, CredentialsProvider credentialsProvider) Internal demote API for swapping from primary to backup Space.voidlongReturns a clustered view of this proxy.Deprecated.Since 8.0 - This method is reserved for internal usage.Returns a proxy of the specified space.intgetPartitionId(Object routingValue) Returns the reference to initial remote spaceDeprecated.Since 8.0 - This method is reserved for internal usage.getTypeDescFromServer(String typeName) booleanprepareTemplate(Object template) voidregisterTypeDescInServers(ITypeDesc typeDesc) voidsetMVCCGenerationsState(MVCCGenerationsState generationsState) voidsetQuiesceToken(QuiesceToken token) voidshutdown()Methods inherited from interface com.j_spaces.core.client.ActionMaker
setActionListenerMethods inherited from interface com.gigaspaces.serialization.pbs.IDotnetProxyAssociated
getAppDomainId, getDotnetProxyHandleId, hasAssociatedAppDomain, isTargetOfADotnetProxy, setAppDomainId, setDotnetProxyHandleIdMethods inherited from interface com.j_spaces.core.IJSpace
dropClass, getAdmin, getCacheTypeName, getContainerName, getDirectProxy, getFinderURL, getName, getReadModifiers, getReferentUuid, getUpdateModifiers, getURL, isEmbedded, isFifo, isOptimisticLockingEnabled, isSecured, isStartedWithinGSC, ping, setFifo, setOptimisticLocking, setReadModifiers, setUpdateModifiersMethods inherited from interface com.gigaspaces.client.IPojoSpace
clear, clear, count, count, read, read, readIfExists, readIfExists, readMultiple, readMultiple, snapshot, take, take, takeIfExists, takeMultiple, takeMultiple, update, update, updateMultiple, updateMultiple, write, write, writeMultiple, writeMultiple, writeMultipleMethods inherited from interface com.gigaspaces.internal.client.spaceproxy.ISpaceProxy
aggregate, applyNotifyInfoDefaults, asyncAddIndexes, asyncChange, asyncRead, asyncTake, change, checkIfConnected, close, createNewOperationID, execute, execute, getContextTransaction, getNotificationsDirectProxy, getPrivilegedAdmin, getSpaceHealthStatus, getTypeDescriptor, initWriteModifiers, isClustered, loadRemoteClass, read, readById, readById, readByIds, readByIds, readByIds, readByUid, readEntriesUids, readMultiple, readMultiple, registerTypeDescriptor, registerTypeDescriptor, replaceContextTransaction, replaceContextTransaction, take, takeById, takeById, takeByIds, takeByIds, takeByIds, takeByUid, takeMultiple, takeMultiple, unregisterTypeDescriptor, writeMultipleMethods inherited from interface net.jini.space.JavaSpace
notify, read, readIfExists, snapshot, take, takeIfExists, writeMethods inherited from interface com.gigaspaces.security.service.SecuredService
isServiceSecured, login
-
Method Details
-
getFactory
DirectSpaceProxyFactory getFactory() -
getProxySettings
ProxySettings getProxySettings() -
getSpaceClusterInfo
SpaceClusterInfo getSpaceClusterInfo() -
getSecurityManager
IProxySecurityManager getSecurityManager() -
getTypeManager
ISpaceProxyTypeManager getTypeManager() -
getQueryManager
IQueryManager getQueryManager() -
getProxyRouter
SpaceProxyRouter getProxyRouter() -
getDataEventsManager
SpaceProxyDataEventsManager getDataEventsManager() -
getStubHandler
Deprecated.Since 8.0 - This method is reserved for internal usage.Returns the StubHandler of this space.- Returns:
- StubHandler of this space.
-
getContainer
Deprecated.Since 8.0 - This method is reserved for internal usage.Returns the container proxy this space resides in.
The container holds information and attributes of neighboring spaces, and exposes API for creating and destroying of spaces.- Returns:
- Returns the container proxy.
-
getNonClusteredProxy
IJSpace getNonClusteredProxy()Returns a proxy of the specified space. When the proxy is not part of a cluster, it returns itself as the only member.- Returns:
- IJSpace space proxy.
- Since:
- 6.0.2
-
getClusteredProxy
IJSpace getClusteredProxy()Returns a clustered view of this proxy. When the proxy is not part of a cluster, it returns itself as the clustered view.- Returns:
- IJSpace space proxy.
- Since:
- 6.0.2
-
getClientID
long getClientID() -
getRemoteJSpace
IRemoteSpace getRemoteJSpace()Returns the reference to initial remote space -
getRemoteMemberName
String getRemoteMemberName() -
getSpaceImplIfEmbedded
SpaceImpl getSpaceImplIfEmbedded() -
getThreadPool
ExecutorService getThreadPool() -
directClean
void directClean() -
getTypeDescFromServer
-
registerTypeDescInServers
-
isGatewayProxy
boolean isGatewayProxy() -
shutdown
- Throws:
RemoteException
-
getContainerConfig
- Throws:
RemoteException
-
getContainerURL
- Throws:
RemoteException
-
setQuiesceToken
-
setMVCCGenerationsState
- Since:
- 16.3.0
-
prepareTemplate
-
demote
void demote(long maxSuspendTime, TimeUnit timeUnit, CredentialsProvider credentialsProvider) throws DemoteFailedException, RemoteException Internal demote API for swapping from primary to backup Space.- Parameters:
maxSuspendTime- maximum suspend time for the operation to completetimeUnit- max suspend time unit to usecredentialsProvider- security credentials, ornull, orEmptyCredentialsProvider- Throws:
DemoteFailedExceptionRemoteException- Since:
- 14.0.0
-
getPartitionId
- Since:
- 16.4.0
-