public class LogConfig
extends java.lang.Object
| Constructor and Description |
|---|
LogConfig() |
| Modifier and Type | Method and Description |
|---|---|
static LogConfig |
create(@NotNull jetbrains.exodus.io.DataReader reader,
@NotNull jetbrains.exodus.io.DataWriter writer) |
int |
getCacheGenerationCount() |
int |
getCacheOpenFilesCount() |
int |
getCachePageSize() |
int |
getCacheReadAheadMultiple() |
boolean |
getCacheUseSoftReferences() |
long |
getCipherBasicIV() |
byte[] |
getCipherKey() |
jetbrains.exodus.crypto.StreamCipherProvider |
getCipherProvider() |
long |
getFileSize() |
long |
getLockTimeout() |
long |
getMemoryUsage() |
int |
getMemoryUsagePercentage() |
jetbrains.exodus.io.DataReader |
getReader() |
@Nullable jetbrains.exodus.io.DataReaderWriterProvider |
getReaderWriterProvider() |
long |
getSyncPeriod() |
jetbrains.exodus.io.DataWriter |
getWriter() |
boolean |
isCleanDirectoryExpected() |
boolean |
isClearInvalidLog() |
boolean |
isDurableWrite() |
boolean |
isFullFileReadonly() |
boolean |
isLockIgnored() |
boolean |
isNonBlockingCache() |
boolean |
isReadonlyReaderWriterProvider() |
boolean |
isSharedCache() |
boolean |
isWarmup() |
LogConfig |
setCacheGenerationCount(int cacheGenerationCount) |
LogConfig |
setCacheOpenFilesCount(int cacheOpenFilesCount) |
LogConfig |
setCachePageSize(int cachePageSize) |
void |
setCacheReadAheadMultiple(int cacheReadAheadMultiple) |
LogConfig |
setCacheUseSoftReferences(boolean cacheUseSoftReferences) |
LogConfig |
setCipherBasicIV(long basicIV) |
LogConfig |
setCipherKey(byte[] cipherKey) |
LogConfig |
setCipherProvider(jetbrains.exodus.crypto.StreamCipherProvider cipherProvider) |
LogConfig |
setCleanDirectoryExpected(boolean cleanDirectoryExpected) |
LogConfig |
setClearInvalidLog(boolean clearInvalidLog) |
LogConfig |
setDurableWrite(boolean durableWrite) |
LogConfig |
setFileSize(long fileSize) |
LogConfig |
setFullFileReadonly(boolean fullFileReadonly) |
LogConfig |
setLocation(@NotNull java.lang.String location) |
void |
setLockIgnored(boolean lockIgnored) |
LogConfig |
setLockTimeout(long lockTimeout) |
LogConfig |
setMemoryUsage(long memUsage) |
LogConfig |
setMemoryUsagePercentage(int memoryUsagePercentage) |
LogConfig |
setNonBlockingCache(boolean nonBlockingCache) |
LogConfig |
setReader(@NotNull jetbrains.exodus.io.DataReader reader)
Deprecated.
|
LogConfig |
setReaderWriter(@NotNull jetbrains.exodus.io.DataReader reader,
@NotNull jetbrains.exodus.io.DataWriter writer) |
LogConfig |
setReaderWriterProvider(@NotNull java.lang.String provider) |
LogConfig |
setSharedCache(boolean sharedCache) |
LogConfig |
setSyncPeriod(long syncPeriod) |
void |
setUseV1Format(boolean useV1Format) |
LogConfig |
setWarmup(boolean warmup) |
LogConfig |
setWriter(@NotNull jetbrains.exodus.io.DataWriter writer)
Deprecated.
|
boolean |
useV1Format() |
public LogConfig setLocation(@NotNull @NotNull java.lang.String location)
public LogConfig setReaderWriterProvider(@NotNull @NotNull java.lang.String provider)
public long getFileSize()
public LogConfig setFileSize(long fileSize)
public long getLockTimeout()
public LogConfig setLockTimeout(long lockTimeout)
public boolean isLockIgnored()
public void setLockIgnored(boolean lockIgnored)
public long getMemoryUsage()
public LogConfig setMemoryUsage(long memUsage)
public int getMemoryUsagePercentage()
public LogConfig setMemoryUsagePercentage(int memoryUsagePercentage)
public jetbrains.exodus.io.DataReader getReader()
@Deprecated public LogConfig setReader(@NotNull @NotNull jetbrains.exodus.io.DataReader reader)
public jetbrains.exodus.io.DataWriter getWriter()
@Deprecated public LogConfig setWriter(@NotNull @NotNull jetbrains.exodus.io.DataWriter writer)
public LogConfig setReaderWriter(@NotNull @NotNull jetbrains.exodus.io.DataReader reader, @NotNull @NotNull jetbrains.exodus.io.DataWriter writer)
public boolean isDurableWrite()
public LogConfig setDurableWrite(boolean durableWrite)
public boolean isSharedCache()
public LogConfig setSharedCache(boolean sharedCache)
public boolean isNonBlockingCache()
public LogConfig setNonBlockingCache(boolean nonBlockingCache)
public boolean getCacheUseSoftReferences()
public LogConfig setCacheUseSoftReferences(boolean cacheUseSoftReferences)
public int getCacheGenerationCount()
public LogConfig setCacheGenerationCount(int cacheGenerationCount)
public int getCacheReadAheadMultiple()
public void setCacheReadAheadMultiple(int cacheReadAheadMultiple)
public int getCachePageSize()
public LogConfig setCachePageSize(int cachePageSize)
public int getCacheOpenFilesCount()
public LogConfig setCacheOpenFilesCount(int cacheOpenFilesCount)
public boolean isCleanDirectoryExpected()
public LogConfig setCleanDirectoryExpected(boolean cleanDirectoryExpected)
public boolean isClearInvalidLog()
public LogConfig setClearInvalidLog(boolean clearInvalidLog)
public boolean isWarmup()
public LogConfig setWarmup(boolean warmup)
public long getSyncPeriod()
public LogConfig setSyncPeriod(long syncPeriod)
public boolean isFullFileReadonly()
public LogConfig setFullFileReadonly(boolean fullFileReadonly)
public jetbrains.exodus.crypto.StreamCipherProvider getCipherProvider()
public LogConfig setCipherProvider(jetbrains.exodus.crypto.StreamCipherProvider cipherProvider)
public byte[] getCipherKey()
public LogConfig setCipherKey(byte[] cipherKey)
public long getCipherBasicIV()
public LogConfig setCipherBasicIV(long basicIV)
@Nullable public @Nullable jetbrains.exodus.io.DataReaderWriterProvider getReaderWriterProvider()
public boolean isReadonlyReaderWriterProvider()
public boolean useV1Format()
public void setUseV1Format(boolean useV1Format)
public static LogConfig create(@NotNull @NotNull jetbrains.exodus.io.DataReader reader, @NotNull @NotNull jetbrains.exodus.io.DataWriter writer)