Interface AllowlistAccessor

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
ZkAllowlistAccessor

public interface AllowlistAccessor extends Closeable
Interface defines the ways to access to the allowlist of Helix NodeId.
  • Method Details

    • isInstanceInAllowlist

      boolean isInstanceInAllowlist(String clusterName, String helixNodeId)
      Judge whether the given helix nodeId is in the allowlist or not.
    • getAllowList

      Set<String> getAllowList(String clusterName)
      Get all helix nodeIds in the allowlist of the given cluster from ZK.
    • addInstanceToAllowList

      void addInstanceToAllowList(String clusterName, String helixNodeId)
      Add the given helix nodeId into the allowlist in ZK.
    • removeInstanceFromAllowList

      void removeInstanceFromAllowList(String clusterName, String helixNodeId)
      Remove the given helix nodeId from the allowlist in ZK.