org.apache.geode.admin

## Interface CacheServer

- All Superinterfaces:
    ManagedEntity, SystemMember

  Deprecated.
  as of 5.7 use `CacheVm` instead.

      @Deprecated
      public interface CacheServer
      extends SystemMember, ManagedEntity

  A dedicated cache server VM that is managed by the administration API.
  Since:
    GemFire 4.0

- - ### Method Summary

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

    - ### 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`

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

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

- - ### Method Detail

    - #### getConfig

          @Deprecated
          CacheServerConfig getConfig()

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

    - #### isPrimaryForDurableClient

          boolean isPrimaryForDurableClient(java.lang.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