Package com.linkedin.venice.meta
Class StaticClusterInfoProvider
- java.lang.Object
-
- com.linkedin.venice.meta.StaticClusterInfoProvider
-
- All Implemented Interfaces:
ClusterInfoProvider
public class StaticClusterInfoProvider extends java.lang.Object implements ClusterInfoProvider
-
-
Constructor Summary
Constructors Constructor Description StaticClusterInfoProvider(java.util.Set<java.lang.String> clusterNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getVeniceCluster(java.lang.String storeName)
Get the associated Venice cluster name given a Venice store name.
-
-
-
Method Detail
-
getVeniceCluster
public java.lang.String getVeniceCluster(java.lang.String storeName)
Description copied from interface:ClusterInfoProvider
Get the associated Venice cluster name given a Venice store name.- Specified by:
getVeniceCluster
in interfaceClusterInfoProvider
- Returns:
- the cluster name that the store belongs to or null if such information cannot be provided.
-
-