org.apache.geode.experimental.driver

## Class ProtobufFunctionService

- java.lang.Object
- - org.apache.geode.experimental.driver.ProtobufFunctionService

- All Implemented Interfaces:
    FunctionService

      public class ProtobufFunctionService
      extends java.lang.Object
      implements FunctionService

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProtobufFunctionService(org.apache.geode.experimental.driver.ProtobufChannel channel, org.apache.geode.experimental.driver.ValueEncoder valueEncoder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> Function` | `newFunction(java.lang.String functionId)` Creates a new object that allows the execution of functions in the distributed system.

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

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

- - ### Constructor Detail

    - #### ProtobufFunctionService

          public ProtobufFunctionService(org.apache.geode.experimental.driver.ProtobufChannel channel,
                                         org.apache.geode.experimental.driver.ValueEncoder valueEncoder)

  - ### Method Detail

    - #### newFunction

          public <T> Function newFunction(java.lang.String functionId)

      Description copied from interface: `FunctionService`
      Creates a new object that allows the execution of functions in the distributed system.
      Specified by:
        `newFunction` in interface `FunctionService`
      Type Parameters:
        `T` - Type of result returned from the function. May differ from the key and values types of any involved regions.
      Parameters:
        `functionId` - Unique ID of the function that has already been registered in the distributed system.
      Returns:
        Function abstraction.