Interface TargetResolver

All Known Implementing Classes:
PaperTargetResolver
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 TargetResolver
Resolves declarative selectors against the current network topology.
  • Method Summary

    Modifier and Type
    Method
    Description
    Resolves a selector against current server state.
  • Method Details

    • resolve

      Set<String> resolve(TargetSelector selector)
      Resolves a selector against current server state.
      Parameters:
      selector - declarative target selector
      Returns:
      unique server names currently matching the selector