toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.cache
/
Cache
/
Companion
Companion
object
Companion
Members
Properties
MAX_ARCHIVE
Link copied to clipboard
const
val
MAX_ARCHIVE
:
Int
=
254
Functions
open
Link copied to clipboard
@
JvmOverloads
@
JvmStatic
fun
open
(
root
:
Path
,
alloc
:
ByteBufAllocator
=
ByteBufAllocator.DEFAULT
,
unpackedCacheSize
:
Int
=
UnpackedCache.DEFAULT_CAPACITY
)
:
Cache
@
JvmOverloads
@
JvmStatic
fun
open
(
store
:
Store
,
alloc
:
ByteBufAllocator
=
ByteBufAllocator.DEFAULT
,
unpackedCacheSize
:
Int
=
UnpackedCache.DEFAULT_CAPACITY
)
:
Cache