Interface IRemoteCacheServerAttributes

All Superinterfaces:
AuxiliaryCacheAttributes, Cloneable, ICommonRemoteCacheAttributes, Serializable
All Known Implementing Classes:
RemoteCacheServerAttributes

This defines the minimal behavior for the objects that are used to configure the remote cache server.
  • Method Details

    • getServicePort

      Gets the localPort attribute of the IRemoteCacheAttributes object.

      Returns:
      The localPort value
    • setServicePort

      void setServicePort(int p)
      Sets the localPort attribute of the IRemoteCacheAttributes object.

      Parameters:
      p - The new localPort value
    • isAllowClusterGet

      Should we try to get remotely when the request does not come in from a cluster. If local L1 asks remote server R1 for element A and R1 doesn't have it, should R1 look remotely? The difference is between a local and a remote update. The local update stays local. Normal updates, removes, etc, stay local when they come from a client. If this is set to true, then they can go remote.

      Returns:
      The localClusterConsistency value
    • setAllowClusterGet

      void setAllowClusterGet(boolean r)
      Should cluster updates be propagated to the locals.

      Parameters:
      r - The new localClusterConsistency value
    • getConfigFileName

      Gets the ConfigFileName attribute of the IRemoteCacheAttributes object.

      Returns:
      The configuration file name
    • setConfigFileName

      Sets the ConfigFileName attribute of the IRemoteCacheAttributes object.

      Parameters:
      s - The new configuration file name
    • setUseRegistryKeepAlive

      void setUseRegistryKeepAlive(boolean useRegistryKeepAlive)
      Should we try to keep the registry alive

      Parameters:
      useRegistryKeepAlive - the useRegistryKeepAlive to set
    • setStartRegistry

      @Deprecated void setStartRegistry(boolean startRegistry)
      Deprecated.
      Always true, to be removed
      Should we start the registry

      Parameters:
      startRegistry - the startRegistry to set
    • isStartRegistry

      Deprecated.
      Always true, to be removed
      Should we start the registry

      Returns:
      the startRegistry
    • isUseRegistryKeepAlive

      Should we try to keep the registry alive

      Returns:
      the useRegistryKeepAlive
    • setRegistryKeepAliveDelayMillis

      void setRegistryKeepAliveDelayMillis(long registryKeepAliveDelayMillis)
      Parameters:
      registryKeepAliveDelayMillis - the registryKeepAliveDelayMillis to set
    • getRegistryKeepAliveDelayMillis

      Returns:
      the registryKeepAliveDelayMillis