org.apache.geode.cache.execute

## Class FunctionAdapter

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

- All Implemented Interfaces:
    java.io.Serializable, Function, Identifiable

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

      public abstract class FunctionAdapter
      extends java.lang.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, hasResult, isHA, optimizeForWrite`

- - ### Constructor Detail

    - #### FunctionAdapter

          public FunctionAdapter()

      Deprecated.