Package org.iq80.leveldb
Class Options
java.lang.Object
org.iq80.leveldb.Options
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate longprivate DBComparatorprivate CompressionTypeprivate booleanprivate booleanprivate Loggerprivate intprivate booleanprivate booleanprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintblockRestartInterval(int blockRestartInterval) intblockSize(int blockSize) longcacheSize(long cacheSize) (package private) static voidcheckArgNotNull(Object value, String name) comparator(DBComparator comparator) compressionType(CompressionType compressionType) booleancreateIfMissing(boolean createIfMissing) booleanerrorIfExists(boolean errorIfExists) logger()intmaxOpenFiles(int maxOpenFiles) booleanparanoidChecks(boolean paranoidChecks) booleanverifyChecksums(boolean verifyChecksums) intwriteBufferSize(int writeBufferSize)
-
Field Details
-
createIfMissing
private boolean createIfMissing -
errorIfExists
private boolean errorIfExists -
writeBufferSize
private int writeBufferSize -
maxOpenFiles
private int maxOpenFiles -
blockRestartInterval
private int blockRestartInterval -
blockSize
private int blockSize -
compressionType
-
verifyChecksums
private boolean verifyChecksums -
paranoidChecks
private boolean paranoidChecks -
comparator
-
logger
-
cacheSize
private long cacheSize
-
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
checkArgNotNull
-
createIfMissing
public boolean createIfMissing() -
createIfMissing
-
errorIfExists
public boolean errorIfExists() -
errorIfExists
-
writeBufferSize
public int writeBufferSize() -
writeBufferSize
-
maxOpenFiles
public int maxOpenFiles() -
maxOpenFiles
-
blockRestartInterval
public int blockRestartInterval() -
blockRestartInterval
-
blockSize
public int blockSize() -
blockSize
-
compressionType
-
compressionType
-
verifyChecksums
public boolean verifyChecksums() -
verifyChecksums
-
cacheSize
public long cacheSize() -
cacheSize
-
comparator
-
comparator
-
logger
-
logger
-
paranoidChecks
public boolean paranoidChecks() -
paranoidChecks
-