swaydb
.
java
.
persistent
.
MapConfig
Config
Related Doc:
package MapConfig
class
Config
[
K
,
V
,
F
]
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Config
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Config
(
dir:
Path
,
mapSize:
Int
=
4.mb
,
mmapMaps:
Boolean
=
true
,
recoveryMode:
RecoveryMode
=
RecoveryMode.ReportFailure
,
mmapAppendix:
Boolean
=
true
,
appendixFlushCheckpointSize:
Int
=
2.mb
,
otherDirs:
Seq
[
Dir
] =
Seq.empty
,
cacheKeyValueIds:
Boolean
=
true
,
threadStateCache:
ThreadStateCache
=
...
,
sortedKeyIndex:
Enable
=
DefaultConfigs.sortedKeyIndex()
,
randomKeyIndex:
Enable
=
DefaultConfigs.randomKeyIndex()
,
binarySearchIndex:
FullIndex
=
DefaultConfigs.binarySearchIndex()
,
mightContainKeyIndex:
Enable
=
...
,
valuesConfig:
ValuesConfig
=
DefaultConfigs.valuesConfig()
,
segmentConfig:
SegmentConfig
=
DefaultConfigs.segmentConfig()
,
fileCache:
Enable
=
DefaultConfigs.fileCache()
,
memoryCache:
MemoryCache
=
DefaultConfigs.memoryCache()
,
levelZeroThrottle:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
] =
...
,
levelOneThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
levelTwoThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
levelThreeThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
levelFourThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
levelFiveThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
levelSixThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
acceleration:
JavaFunction
[
LevelZeroMeter
,
Accelerator
] =
Accelerator.noBrakes() _).asJava
,
byteComparator:
KeyComparator
[
ByteSlice
] =
null
,
typedComparator:
KeyComparator
[
K
] =
null
,
keySerializer:
Serializer
[
K
]
,
valueSerializer:
Serializer
[
V
]
,
functionClassTag:
ClassTag
[_]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
var
acceleration
:
JavaFunction
[
LevelZeroMeter
,
Accelerator
]
var
appendixFlushCheckpointSize
:
Int
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
binarySearchIndex
:
FullIndex
var
byteComparator
:
KeyComparator
[
ByteSlice
]
var
cacheKeyValueIds
:
Boolean
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
dir
:
Path
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
var
fileCache
:
Enable
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getAcceleration
()
:
JavaFunction
[
LevelZeroMeter
,
Accelerator
]
def
getAppendixFlushCheckpointSize
()
:
Int
def
getBinarySearchIndex
()
:
FullIndex
def
getByteComparator
()
:
KeyComparator
[
ByteSlice
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getDir
()
:
Path
def
getFileCache
()
:
Enable
def
getLevelFiveThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelFourThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelOneThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelSixThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelThreeThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelTwoThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelZeroThrottle
()
:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
]
def
getMapSize
()
:
Int
def
getMemoryCache
()
:
MemoryCache
def
getMightContainKeyIndex
()
:
Enable
def
getOtherDirs
()
:
Seq
[
Dir
]
def
getRandomKeyIndex
()
:
Enable
def
getRecoveryMode
()
:
RecoveryMode
def
getSegmentConfig
()
:
SegmentConfig
def
getSortedKeyIndex
()
:
Enable
def
getThreadStateCache
()
:
ThreadStateCache
def
getTypedComparator
()
:
KeyComparator
[
K
]
def
getValuesConfig
()
:
ValuesConfig
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
init
()
:
Map
[
K
,
V
,
F
]
def
isCacheKeyValueIds
()
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isMmapAppendix
()
:
Boolean
def
isMmapMaps
()
:
Boolean
var
levelFiveThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelFourThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelOneThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelSixThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelThreeThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelTwoThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelZeroThrottle
:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
]
var
mapSize
:
Int
var
memoryCache
:
MemoryCache
var
mightContainKeyIndex
:
Enable
var
mmapAppendix
:
Boolean
var
mmapMaps
:
Boolean
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
otherDirs
:
Seq
[
Dir
]
var
randomKeyIndex
:
Enable
var
recoveryMode
:
RecoveryMode
def
registerFunction
(
function:
F
)
:
Config
[
K
,
V
,
F
]
def
registerFunctions
(
functions:
F
*
)
:
Config
[
K
,
V
,
F
]
def
removeFunction
(
function:
F
)
:
Config
[
K
,
V
,
F
]
implicit
def
scalaKeyOrder
:
KeyOrder
[
Slice
[
Byte
]]
var
segmentConfig
:
SegmentConfig
def
setAcceleration
(
arg0:
JavaFunction
[
LevelZeroMeter
,
Accelerator
]
)
:
Unit
def
setAppendixFlushCheckpointSize
(
arg0:
Int
)
:
Unit
def
setBinarySearchIndex
(
arg0:
FullIndex
)
:
Unit
def
setByteComparator
(
arg0:
KeyComparator
[
ByteSlice
]
)
:
Unit
def
setCacheKeyValueIds
(
arg0:
Boolean
)
:
Unit
def
setDir
(
arg0:
Path
)
:
Unit
def
setFileCache
(
arg0:
Enable
)
:
Unit
def
setLevelFiveThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelFourThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelOneThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelSixThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelThreeThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelTwoThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelZeroThrottle
(
arg0:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
]
)
:
Unit
def
setMapSize
(
arg0:
Int
)
:
Unit
def
setMemoryCache
(
arg0:
MemoryCache
)
:
Unit
def
setMightContainKeyIndex
(
arg0:
Enable
)
:
Unit
def
setMmapAppendix
(
arg0:
Boolean
)
:
Unit
def
setMmapMaps
(
arg0:
Boolean
)
:
Unit
def
setOtherDirs
(
arg0:
Seq
[
Dir
]
)
:
Unit
def
setRandomKeyIndex
(
arg0:
Enable
)
:
Unit
def
setRecoveryMode
(
arg0:
RecoveryMode
)
:
Unit
def
setSegmentConfig
(
arg0:
SegmentConfig
)
:
Unit
def
setSortedKeyIndex
(
arg0:
Enable
)
:
Unit
def
setThreadStateCache
(
arg0:
ThreadStateCache
)
:
Unit
def
setTypedComparator
(
arg0:
KeyComparator
[
K
]
)
:
Unit
def
setValuesConfig
(
arg0:
ValuesConfig
)
:
Unit
var
sortedKeyIndex
:
Enable
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
var
threadStateCache
:
ThreadStateCache
def
toString
()
:
String
Definition Classes
AnyRef → Any
var
typedComparator
:
KeyComparator
[
K
]
var
valuesConfig
:
ValuesConfig
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped