com.hazelcast.spi
Interface OperationFactory

All Superinterfaces:
DataSerializable
All Known Implementing Classes:
AddIndexOperationFactory, AddInterceptorOperationFactory, BinaryOperationFactory, CacheClearOperationFactory, CacheGetAllOperationFactory, CacheLoadAllOperationFactory, CacheRemoveAllOperationFactory, CacheSizeOperationFactory, ClearOperationFactory, ContainsValueOperationFactory, EntrySetOperationFactory, EvictAllOperationFactory, GetResultOperationFactory, IsEmptyOperationFactory, MapFlushOperationFactory, MapGetAllOperationFactory, MapKeySetOperationFactory, MapLoadAllOperationFactory, MapPutAllOperationFactory, MapValuesOperationFactory, MultiMapOperationFactory, MultipleEntryOperationFactory, OperationFactoryWrapper, PartitionCheckIfLoadedOperationFactory, PartitionWideEntryOperationFactory, PartitionWideEntryWithPredicateOperationFactory, RemoveInterceptorOperationFactory, SizeOperationFactory

public interface OperationFactory
extends DataSerializable

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 Operations for each partition by calling createOperation()


Method Summary
 Operation createOperation()
          Creates the operation.
 
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable
readData, writeData
 

Method Detail

createOperation

Operation createOperation()
Creates the operation.

Returns:
the created operation.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.