Class CommitLog.Configuration

  • Enclosing class:
    CommitLog

    public static final class CommitLog.Configuration
    extends java.lang.Object
    • Field Detail

      • diskAccessMode

        public final Config.DiskAccessMode diskAccessMode
        Flag used to shows user configured Direct-IO status.
    • Method Detail

      • useCompression

        public boolean useCompression()
        Returns:
        true if the segments must be compressed, false otherwise.
      • useEncryption

        public boolean useEncryption()
        Returns:
        true if the segments must be encrypted, false otherwise.
      • getCompressor

        public ICompressor getCompressor()
        Returns:
        the compressor used to compress the segments
      • getCompressorClass

        public ParameterizedClass getCompressorClass()
        Returns:
        the compressor class
      • getCompressorName

        public java.lang.String getCompressorName()
        Returns:
        the compressor name.
      • getEncryptionContext

        public EncryptionContext getEncryptionContext()
        Returns:
        the encryption context used to encrypt the segments
      • isDirectIOEnabled

        public boolean isDirectIOEnabled()
        Returns:
        Direct-IO used for CommitLog IO
      • isStandardModeEnable

        public boolean isStandardModeEnable()
        Returns:
        Standard or buffered I/O used for CommitLog IO