com.hazelcast.spi

## Interface OperationFactory

- All Superinterfaces:
    DataSerializable, IdentifiedDataSerializable

      public interface OperationFactory
      extends IdentifiedDataSerializable

  A Factory for creating `Operation` instances.

  The operations that will be sent to all partitions causes redundant serialization and network overhead. An `OperationFactory` instance is sent to each `Member` (node) instead to improve the performance. `OperationService` uses this factory to create `Operation`s for each partition by calling `createOperation()`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Operation` | `createOperation()` Creates the operation.

    - ### Methods inherited from interface com.hazelcast.nio.serialization.IdentifiedDataSerializable

      `getFactoryId, getId`

    - ### Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable

      `readData, writeData`

- - ### Method Detail

    - #### createOperation

          Operation createOperation()

      Creates the operation.
      Returns:
        the created operation.

Copyright © 2020. All rights reserved.