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 Detail

      • getPartition

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