Interface DefaultPartitionStrategy

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DefaultPartitionStrategy
A facade that hides the details of Hazelcast partitioning SPI and exposes just the partitioning strategy.
Since:
Jet 3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the Hazelcast partition ID of the given object.
  • Method Details

    • getPartition

      int getPartition(Object object)
      Returns the Hazelcast partition ID of the given object.