Package com.linkedin.davinci.store
Class StoragePartitionConfig
- java.lang.Object
-
- com.linkedin.davinci.store.StoragePartitionConfig
-
public class StoragePartitionConfig extends java.lang.Object
Storage partition level config, which could be used to specify partition specific config when initializing/opening the correspondingAbstractStoragePartition
.
-
-
Constructor Summary
Constructors Constructor Description StoragePartitionConfig(java.lang.String storeName, int partitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getPartitionId()
java.lang.String
getStoreName()
int
hashCode()
boolean
isDeferredWrite()
boolean
isReadOnly()
boolean
isReadWriteLeaderForDefaultCF()
boolean
isReadWriteLeaderForRMDCF()
boolean
isWriteOnlyConfig()
void
setDeferredWrite(boolean deferredWrite)
void
setReadOnly(boolean readOnly)
void
setReadWriteLeaderForDefaultCF(boolean readWriteLeaderForDefaultCF)
void
setReadWriteLeaderForRMDCF(boolean readWriteLeaderForRMDCF)
void
setWriteOnlyConfig(boolean writeOnly)
java.lang.String
toString()
-
-
-
Method Detail
-
getStoreName
public java.lang.String getStoreName()
-
getPartitionId
public int getPartitionId()
-
setDeferredWrite
public void setDeferredWrite(boolean deferredWrite)
-
isDeferredWrite
public boolean isDeferredWrite()
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean readOnly)
-
isWriteOnlyConfig
public boolean isWriteOnlyConfig()
-
setWriteOnlyConfig
public void setWriteOnlyConfig(boolean writeOnly)
-
isReadWriteLeaderForDefaultCF
public boolean isReadWriteLeaderForDefaultCF()
-
setReadWriteLeaderForDefaultCF
public void setReadWriteLeaderForDefaultCF(boolean readWriteLeaderForDefaultCF)
-
isReadWriteLeaderForRMDCF
public boolean isReadWriteLeaderForRMDCF()
-
setReadWriteLeaderForRMDCF
public void setReadWriteLeaderForRMDCF(boolean readWriteLeaderForRMDCF)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-