CacheServer (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.admin, interface: CacheServer

Package org.apache.geode.admin

# Interface CacheServer

All Superinterfaces:
  `ManagedEntity`, `SystemMember`

@Deprecated public interface CacheServer extends SystemMember, ManagedEntity
Deprecated.
as of 5.7 use `CacheVm` instead.
A dedicated cache server VM that is managed by the administration API.

Since:
  GemFire 4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CacheServerConfig`
  `getConfig()`
  Deprecated.
  as of 5.7 use `CacheVm.getVmConfig()` instead.
  `boolean`
  `isPrimaryForDurableClient(String durableClientId)`
  Deprecated.
  Find whether this server is primary for given client (durableClientId)

  ### Methods inherited from interface org.apache.geode.admin.ManagedEntity

  `getLog, isRunning, start, stop, waitToStart, waitToStop`

  ### Methods inherited from interface org.apache.geode.admin.SystemMember

  `getCache, getConfiguration, getDistributedMember, getDistributedSystem, getHost, getHostAddress, getId, getLicense, getLog, getName, getRoles, getStat, getStats, getType, getVersion, hasCache, refreshConfig, setConfiguration`

- ## Method Details

  - ### getConfig

    @Deprecated CacheServerConfig getConfig()
    Deprecated.
    as of 5.7 use `CacheVm.getVmConfig()` instead.
    Returns the configuration of this cache vm
    Returns:
      the configuration of this cache vm

  - ### isPrimaryForDurableClient

    boolean isPrimaryForDurableClient(String durableClientId)
    Deprecated.
    Find whether this server is primary for given client (durableClientId)
    Parameters:
      `durableClientId` - - durable-id of the client
    Returns:
      true if the server is primary for given client
    Since:
      GemFire 5.6