Package com.linkedin.davinci.store
Class StoragePartitionConfig
java.lang.Object
com.linkedin.davinci.store.StoragePartitionConfig
Storage partition level config, which could be used to specify partition specific config when
initializing/opening the corresponding
AbstractStoragePartition
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
hashCode()
boolean
boolean
boolean
boolean
boolean
void
setDeferredWrite
(boolean deferredWrite) void
setReadOnly
(boolean readOnly) void
setReadWriteLeaderForDefaultCF
(boolean readWriteLeaderForDefaultCF) void
setReadWriteLeaderForRMDCF
(boolean readWriteLeaderForRMDCF) void
setWriteOnlyConfig
(boolean writeOnly) toString()
-
Constructor Details
-
StoragePartitionConfig
-
-
Method Details
-
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
-
hashCode
public int hashCode() -
toString
-