FunctionAdapter (Apache Geode 1.15.4)

org.apache.geode.cache.execute

## Class FunctionAdapter

- java.lang.Object
- - org.apache.geode.cache.execute.FunctionAdapter

- All Implemented Interfaces:
    Serializable, Function, Identifiable

  Deprecated.
  Use `Function` instead. Function has default methods that now mimic the behavior of FunctionAdapter.

      @Deprecated
      public abstract class FunctionAdapter
      extends Object
      implements Function

  Application developers can extend this class instead of implementing the `Function` interface.

  This implementation provides the following defaults

  1. `Function.hasResult()` returns true
  2. `Function.optimizeForWrite()` returns false
  3. `Function.isHA()` returns true

  Since:
    GemFire 6.0
  See Also:
    `Function`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FunctionAdapter()` Deprecated.

  - ### Method Summary

    - ### 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.execute.Function

      `execute, getId, getRequiredPermissions, getRequiredPermissions, hasResult, isHA, optimizeForWrite`

    - ### Methods inherited from interface org.apache.geode.lang.Identifiable

      `exists, find, remove`

- - ### Constructor Detail

    - #### FunctionAdapter

          public FunctionAdapter()

      Deprecated.