Class StoragePartitionConfig

java.lang.Object
com.linkedin.davinci.store.StoragePartitionConfig

public class StoragePartitionConfig extends Object
Storage partition level config, which could be used to specify partition specific config when initializing/opening the corresponding AbstractStoragePartition.
  • Constructor Details

    • StoragePartitionConfig

      public StoragePartitionConfig(String storeName, int partitionId)
  • Method Details

    • getStoreName

      public 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object