Class TieredStoreConfig

    • Field Detail

      • DEFAULT_ENABLED

        public static final boolean DEFAULT_ENABLED
        Default value for if tiered-store is enabled.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TieredStoreConfig

        public TieredStoreConfig()
      • TieredStoreConfig

        public TieredStoreConfig​(TieredStoreConfig tieredStoreConfig)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns whether tiered-store is enabled on the related data structure.
        Returns:
        true if tiered-store is enabled, false otherwise.
      • setEnabled

        public TieredStoreConfig setEnabled​(boolean enabled)
        Sets whether tiered-store is enabled on the related data structure.
        Parameters:
        enabled - enabled parameter.
        Returns:
        this TieredStoreConfig
      • getMemoryTierConfig

        public MemoryTierConfig getMemoryTierConfig()
        Returns the memory tier config of this tiered-store configuration.
        Returns:
        MemoryTierConfig of this tiered-store configuration.
      • setMemoryTierConfig

        public TieredStoreConfig setMemoryTierConfig​(MemoryTierConfig memoryTierConfig)
        Sets the memory tier config of this tiered-store configuration.
        Parameters:
        memoryTierConfig - memory tier configuration.
        Returns:
        this TieredStoreConfig
      • getDiskTierConfig

        public DiskTierConfig getDiskTierConfig()
        Returns the disk tier config of this tiered-store configuration.
        Returns:
        TSDiskTierConfig of this tiered-store configuration.
      • setDiskTierConfig

        public TieredStoreConfig setDiskTierConfig​(DiskTierConfig diskTierConfig)
        Sets the disk tier config of this tiered-store configuration.
        Parameters:
        diskTierConfig - disk tier configuration.
        Returns:
        this TieredStoreConfig
      • equals

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

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

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

        public void writeData​(ObjectDataOutput out)
                       throws java.io.IOException
        Description copied from interface: DataSerializable
        Writes object fields to output stream
        Specified by:
        writeData in interface DataSerializable
        Parameters:
        out - output
        Throws:
        java.io.IOException - if an I/O error occurs. In particular, an IOException may be thrown if the output stream has been closed.
      • readData

        public void readData​(ObjectDataInput in)
                      throws java.io.IOException
        Description copied from interface: DataSerializable
        Reads fields from the input stream
        Specified by:
        readData in interface DataSerializable
        Parameters:
        in - input
        Throws:
        java.io.IOException - if an I/O error occurs. In particular, an IOException may be thrown if the input stream has been closed.