ServerLoadProbeAdapter (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache.server, class: ServerLoadProbeAdapter

Package org.apache.geode.cache.server

# Class ServerLoadProbeAdapter

java.lang.Object
org.apache.geode.cache.server.ServerLoadProbeAdapter

All Implemented Interfaces:
  `CacheCallback`, `Declarable`, `ServerLoadProbe`

public abstract class ServerLoadProbeAdapter extends Object implements ServerLoadProbe
Utility class that implements all methods in `ServerLoadProbe` with empty implementations for open and close. Applications can subclass this class and only override the methods for the events of interest.

Since:
  GemFire 5.7

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ServerLoadProbeAdapter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  Does nothing.
  `void`
  `open()`
  Does nothing.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.geode.cache.Declarable

  `init, initialize`

  ### Methods inherited from interface org.apache.geode.cache.server.ServerLoadProbe

  `getLoad`

- ## Constructor Details

  - ### ServerLoadProbeAdapter

    public ServerLoadProbeAdapter()

- ## Method Details

  - ### close

    public void close()
    Does nothing.
    Specified by:
      `close` in interface `CacheCallback`
    Specified by:
      `close` in interface `ServerLoadProbe`
    See Also:
      - `RegionService.close()`
      - `Region.close()`
      - `Region.localDestroyRegion()`
      - `Region.destroyRegion()`
      - `AttributesMutator`

  - ### open

    public void open()
    Does nothing.
    Specified by:
      `open` in interface `ServerLoadProbe`