SoulLogger
Toggle table of contents
1.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
SoulLogger
SoulLogger
/
com.lestere.opensource.performance
/
MmapRotationWriter
Mmap
Rotation
Writer
class
MmapRotationWriter
(
directory
:
Path
,
maxFileSize
:
Long
=
1024L * 1024L * 1024L
,
rotationPolicy
:
String
=
"SIZE"
,
filePrefix
:
String
=
"app"
)
(
source
)
Members
Constructors
Mmap
Rotation
Writer
Link copied to clipboard
constructor
(
directory
:
Path
,
maxFileSize
:
Long
=
1024L * 1024L * 1024L
,
rotationPolicy
:
String
=
"SIZE"
,
filePrefix
:
String
=
"app"
)
Functions
close
Link copied to clipboard
fun
close
(
)
force
Link copied to clipboard
fun
force
(
)
get
Current
File
Path
Link copied to clipboard
fun
getCurrentFilePath
(
)
:
Path
?
size
Link copied to clipboard
fun
size
(
)
:
Long
write
Link copied to clipboard
fun
write
(
data
:
String
)
:
Long
write
Batch
Link copied to clipboard
fun
writeBatch
(
dataList
:
List
<
String
>
)
:
Long