Package com.linkedin.venice.meta
Class StoreConfig
- java.lang.Object
-
- com.linkedin.venice.meta.StoreConfig
-
- All Implemented Interfaces:
DataModelBackedStructure<StoreClusterConfig>
public class StoreConfig extends java.lang.Object implements DataModelBackedStructure<StoreClusterConfig>
Configurations of a store which are non-cluster specified.
-
-
Constructor Summary
Constructors Constructor Description StoreConfig(StoreClusterConfig storeClusterConfig)
StoreConfig(java.lang.String storeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreConfig
cloneStoreConfig()
StoreClusterConfig
dataModel()
Return the backed data model.boolean
equals(java.lang.Object o)
java.lang.String
getCluster()
java.lang.String
getMigrationDestCluster()
java.lang.String
getMigrationSrcCluster()
java.lang.String
getStoreName()
int
hashCode()
boolean
isDeleting()
void
setCluster(java.lang.String cluster)
void
setDeleting(boolean isDeleting)
void
setMigrationDestCluster(java.lang.String destClusterName)
void
setMigrationSrcCluster(java.lang.String srcClusterName)
-
-
-
Constructor Detail
-
StoreConfig
public StoreConfig(java.lang.String storeName)
-
StoreConfig
public StoreConfig(StoreClusterConfig storeClusterConfig)
-
-
Method Detail
-
getStoreName
public java.lang.String getStoreName()
-
isDeleting
public boolean isDeleting()
-
setDeleting
public void setDeleting(boolean isDeleting)
-
getCluster
public java.lang.String getCluster()
-
setCluster
public void setCluster(java.lang.String cluster)
-
getMigrationSrcCluster
public java.lang.String getMigrationSrcCluster()
-
setMigrationSrcCluster
public void setMigrationSrcCluster(java.lang.String srcClusterName)
-
getMigrationDestCluster
public java.lang.String getMigrationDestCluster()
-
setMigrationDestCluster
public void setMigrationDestCluster(java.lang.String destClusterName)
-
dataModel
public StoreClusterConfig dataModel()
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<StoreClusterConfig>
- Returns:
-
cloneStoreConfig
public StoreConfig cloneStoreConfig()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-