# Package org.apache.geode.cache.server

The `org.apache.geode.cache.server` package provides APIs used for the server side of client/server caching.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  CacheServer | A cache server that serves the contents of a `Cache` to client VMs in another distributed system via a socket.
  ClientSubscriptionConfig | Used to configure queuing on a cache server for client subscriptions.
  ServerLoadProbe | A load probe is installed in a cache server to measure the load on the cache server for balancing load between multiple cache servers.
  ServerMetrics | Metrics about the resource usage for a cache server.

- Class Summary
  Class | Description
  --- | ---
  ServerLoad | A data object containing the load information for a cache server.
  ServerLoadProbeAdapter | Utility class that implements all methods in `ServerLoadProbe` with empty implementations for open and close.

## Package org.apache.geode.cache.server Description

The `org.apache.geode.cache.server` package provides APIs used for the server side of client/server caching.

A `cache server` can be declared using the `cache-server` element described in the `cache6_5.dtd`.

Or it can be created by calling `Cache.addCacheServer()`.

Another option is to use the `cacheserver` executable which can be found in the GemFire `bin` directory.

To obtain an instance of `CacheServer` that has already been created use `Cache.getCacheServers()`.

See the client package for information on how to create clients that will connect to and access the cache in your cache server.