Package com.linkedin.venice.helix
Interface AllowlistAccessor
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ZkAllowlistAccessor
Interface defines the ways to access to the allowlist of Helix NodeId.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInstanceToAllowList
(String clusterName, String helixNodeId) Add the given helix nodeId into the allowlist in ZK.getAllowList
(String clusterName) Get all helix nodeIds in the allowlist of the given cluster from ZK.boolean
isInstanceInAllowlist
(String clusterName, String helixNodeId) Judge whether the given helix nodeId is in the allowlist or not.void
removeInstanceFromAllowList
(String clusterName, String helixNodeId) Remove the given helix nodeId from the allowlist in ZK.
-
Method Details
-
isInstanceInAllowlist
Judge whether the given helix nodeId is in the allowlist or not. -
getAllowList
Get all helix nodeIds in the allowlist of the given cluster from ZK. -
addInstanceToAllowList
Add the given helix nodeId into the allowlist in ZK. -
removeInstanceFromAllowList
Remove the given helix nodeId from the allowlist in ZK.
-