Interface IDirectSpaceProxy

All Superinterfaces:
ActionMaker, IDotnetProxyAssociated, IJSpace, IPojoSpace, ISpaceProxy, JavaSpace, SecuredService
All Known Implementing Classes:
AbstractDirectSpaceProxy, SpaceProxyImpl

public interface IDirectSpaceProxy extends ISpaceProxy
A direct space proxy working on an actual space.
Author:
GigaSpaces
  • Method Details

    • getFactory

    • getProxySettings

      ProxySettings getProxySettings()
    • getSpaceClusterInfo

      SpaceClusterInfo getSpaceClusterInfo()
    • getSecurityManager

      IProxySecurityManager getSecurityManager()
    • getTypeManager

      ISpaceProxyTypeManager getTypeManager()
    • getQueryManager

      IQueryManager getQueryManager()
    • getProxyRouter

      SpaceProxyRouter getProxyRouter()
    • getDataEventsManager

      SpaceProxyDataEventsManager getDataEventsManager()
    • getStubHandler

      @Deprecated IStubHandler 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

      ITypeDesc getTypeDescFromServer(String typeName)
    • registerTypeDescInServers

      void registerTypeDescInServers(ITypeDesc typeDesc)
    • isGatewayProxy

      boolean isGatewayProxy()
    • shutdown

      void shutdown() throws RemoteException
      Throws:
      RemoteException
    • getContainerConfig

      ContainerConfig getContainerConfig() throws RemoteException
      Throws:
      RemoteException
    • getContainerURL

      SpaceURL getContainerURL() throws RemoteException
      Throws:
      RemoteException
    • setQuiesceToken

      void setQuiesceToken(QuiesceToken token)
    • setMVCCGenerationsState

      void setMVCCGenerationsState(MVCCGenerationsState generationsState)
      Since:
      16.3.0
    • prepareTemplate

      ISpaceQuery prepareTemplate(Object template)
    • 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 complete
      timeUnit - max suspend time unit to use
      credentialsProvider - security credentials, or null, or EmptyCredentialsProvider
      Throws:
      DemoteFailedException
      RemoteException
      Since:
      14.0.0
    • getPartitionId

      int getPartitionId(Object routingValue)
      Since:
      16.4.0