class
Config[A, F <: OnKey[A, Void, Return.Set[Void]], SF] extends AnyRef
Instance Constructors
-
new
Config(mapSize: Int = 4.mb, segmentSize: Int = 2.mb, maxOpenSegments: Int = 100, maxCachedKeyValuesPerSegment: Int = 10, fileSweeperPollInterval: Duration = 10.seconds.toJava, mightContainFalsePositiveRate: Double = 0.01, deleteSegmentsEventually: Boolean = true, acceleration: JavaFunction[LevelZeroMeter, Accelerator] = Accelerator.noBrakes() _).asJava, comparator: IO[Comparator[ByteSlice], Comparator[A]] = ..., fileSweeperExecutorService: ExecutorService = SwayDB.defaultExecutorService, serializer: Serializer[A], functionClassTag: ClassTag[SF])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
var
acceleration: JavaFunction[LevelZeroMeter, Accelerator]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
var
comparator: IO[Comparator[ByteSlice], Comparator[A]]
-
var
deleteSegmentsEventually: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
implicit
def
fileSweeperEC: ExecutionContext
-
var
fileSweeperExecutorService: ExecutorService
-
var
fileSweeperPollInterval: Duration
-
def
finalize(): Unit
-
def
getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
-
final
def
getClass(): Class[_]
-
def
getComparator(): IO[Comparator[ByteSlice], Comparator[A]]
-
def
getFileSweeperExecutorService(): ExecutorService
-
def
getFileSweeperPollInterval(): Duration
-
def
getMapSize(): Int
-
def
getMaxCachedKeyValuesPerSegment(): Int
-
def
getMaxOpenSegments(): Int
-
def
getMightContainFalsePositiveRate(): Double
-
def
getSegmentSize(): Int
-
def
hashCode(): Int
-
def
init(): IO[Throwable, SetIO[A, F]]
-
def
isDeleteSegmentsEventually(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
var
mapSize: Int
-
var
maxCachedKeyValuesPerSegment: Int
-
var
maxOpenSegments: Int
-
var
mightContainFalsePositiveRate: Double
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
implicit
def
scalaKeyOrder: KeyOrder[Slice[Byte]]
-
var
segmentSize: Int
-
def
setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit
-
def
setComparator(arg0: IO[Comparator[ByteSlice], Comparator[A]]): Unit
-
def
setDeleteSegmentsEventually(arg0: Boolean): Unit
-
def
setFileSweeperExecutorService(arg0: ExecutorService): Unit
-
def
setFileSweeperPollInterval(arg0: Duration): Unit
-
def
setMapSize(arg0: Int): Unit
-
def
setMaxCachedKeyValuesPerSegment(arg0: Int): Unit
-
def
setMaxOpenSegments(arg0: Int): Unit
-
def
setMightContainFalsePositiveRate(arg0: Double): Unit
-
def
setSegmentSize(arg0: Int): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any