swaydb
.
java
.
memory
.
SetConfig
Config
Related Doc:
package SetConfig
class
Config
[
A
,
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
(
mapSize:
Int
=
4.mb
,
minSegmentSize:
Int
=
2.mb
,
maxKeyValuesPerSegmentGroup:
Int
=
10
,
deleteSegmentsEventually:
Boolean
=
true
,
acceleration:
JavaFunction
[
LevelZeroMeter
,
Accelerator
] =
Accelerator.noBrakes() _).asJava
,
levelZeroThrottle:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
] =
...
,
lastLevelThrottle:
JavaFunction
[
LevelMeter
,
Throttle
] =
...
,
byteComparator:
KeyComparator
[
ByteSlice
] =
null
,
typedComparator:
KeyComparator
[
A
] =
null
,
serializer:
Serializer
[
A
]
,
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
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
byteComparator
:
KeyComparator
[
ByteSlice
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
deleteSegmentsEventually
:
Boolean
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getAcceleration
()
:
JavaFunction
[
LevelZeroMeter
,
Accelerator
]
def
getByteComparator
()
:
KeyComparator
[
ByteSlice
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getLastLevelThrottle
()
:
JavaFunction
[
LevelMeter
,
Throttle
]
def
getLevelZeroThrottle
()
:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
]
def
getMapSize
()
:
Int
def
getMaxKeyValuesPerSegmentGroup
()
:
Int
def
getMinSegmentSize
()
:
Int
def
getTypedComparator
()
:
KeyComparator
[
A
]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
init
()
:
Set
[
A
,
F
]
def
isDeleteSegmentsEventually
()
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
lastLevelThrottle
:
JavaFunction
[
LevelMeter
,
Throttle
]
var
levelZeroThrottle
:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
]
var
mapSize
:
Int
var
maxKeyValuesPerSegmentGroup
:
Int
var
minSegmentSize
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
registerFunction
(
function:
F
)
:
Config
[
A
,
F
]
def
registerFunctions
(
functions:
F
*
)
:
Config
[
A
,
F
]
def
removeFunction
(
function:
F
)
:
Config
[
A
,
F
]
implicit
def
scalaKeyOrder
:
KeyOrder
[
Slice
[
Byte
]]
def
setAcceleration
(
arg0:
JavaFunction
[
LevelZeroMeter
,
Accelerator
]
)
:
Unit
def
setByteComparator
(
arg0:
KeyComparator
[
ByteSlice
]
)
:
Unit
def
setDeleteSegmentsEventually
(
arg0:
Boolean
)
:
Unit
def
setLastLevelThrottle
(
arg0:
JavaFunction
[
LevelMeter
,
Throttle
]
)
:
Unit
def
setLevelZeroThrottle
(
arg0:
JavaFunction
[
LevelZeroMeter
,
FiniteDuration
]
)
:
Unit
def
setMapSize
(
arg0:
Int
)
:
Unit
def
setMaxKeyValuesPerSegmentGroup
(
arg0:
Int
)
:
Unit
def
setMinSegmentSize
(
arg0:
Int
)
:
Unit
def
setTypedComparator
(
arg0:
KeyComparator
[
A
]
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
var
typedComparator
:
KeyComparator
[
A
]
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