Interface ManagedPartitionClient.Routes

Enclosing class:
ManagedPartitionClient
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 static interface ManagedPartitionClient.Routes
Trusted current topology read; no application metadata supplies routing authority.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.j7m.middleware.distributed.PartitionTopology.Route
    resolve(String key, Instant deadline)
    Resolves a stable key through an authenticated quorum topology.
  • Method Details

    • resolve

      org.j7m.middleware.distributed.PartitionTopology.Route resolve(String key, Instant deadline) throws IOException
      Resolves a stable key through an authenticated quorum topology.
      Parameters:
      key - canonical application routing key
      deadline - original finite operation deadline
      Returns:
      current owner and monotonically increasing ownership epoch
      Throws:
      IOException - for unavailable topology or an unknown outcome