com.hazelcast.mapreduce
Interface PartitionIdAware

All Known Implementing Classes:
MapKeyValueSource, MultiMapKeyValueSource

@Beta
public interface PartitionIdAware

This interface can be used to mark implementation being aware of the data partition it is currently working on.

Since:
3.2

Method Summary
 void setPartitionId(int partitionId)
          Sets the partition id the implementing instance is executed against
 

Method Detail

setPartitionId

void setPartitionId(int partitionId)
Sets the partition id the implementing instance is executed against

Parameters:
partitionId - current partitionId


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