public static final class CommitLog.Configuration
extends java.lang.Object
Constructor and Description |
---|
Configuration(ParameterizedClass compressorClass) |
Modifier and Type | Method and Description |
---|---|
ICompressor |
getCompressor()
Returns the compressor used to compress the segments.
|
ParameterizedClass |
getCompressorClass()
Returns the compressor class.
|
java.lang.String |
getCompressorName()
Returns the compressor name.
|
boolean |
useCompression()
Checks if the segments must be compressed.
|
public Configuration(ParameterizedClass compressorClass)
public boolean useCompression()
true
if the segments must be compressed, false
otherwise.public ICompressor getCompressor()
public ParameterizedClass getCompressorClass()
public java.lang.String getCompressorName()
Copyright © 2017 The Apache Software Foundation