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)
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

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

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