Class 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 corresponding AbstractStoragePartition.
    • Constructor Detail

      • StoragePartitionConfig

        public StoragePartitionConfig​(java.lang.String storeName,
                                      int partitionId)
    • 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 class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object