NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL ZCache
/
xyz.noisif.nsl.zcache
/
GenericNativeStorage
Generic
Native
Storage
abstract
class
GenericNativeStorage
:
IdempotentService
,
NativeStorage
Inheritors
ConcurrentLruNativeStorage
Members
Constructors
Generic
Native
Storage
Link copied to clipboard
protected
constructor
(
builder
:
GenericNativeStorage.AbstractBuilder
<
out
Any
>
)
Types
Abstract
Builder
Link copied to clipboard
abstract
class
AbstractBuilder
<
B
:
GenericNativeStorage.AbstractBuilder
<
B
>
?
>
Properties
initial
Capacity
Link copied to clipboard
protected
val
initialCapacity
:
Int
initialized
Link copied to clipboard
private
val
initialized
:
AtomicBoolean
log
Link copied to clipboard
protected
val
log
:
Logger
max
Bytes
Link copied to clipboard
protected
val
maxBytes
:
Long
memory
Source
Link copied to clipboard
protected
val
memorySource
:
String
running
Link copied to clipboard
private
val
running
:
AtomicBoolean
Functions
close
Link copied to clipboard
fun
close
(
)
empty
Link copied to clipboard
abstract
fun
empty
(
)
fetch
Link copied to clipboard
abstract
fun
fetch
(
key
:
NativeStorageKey
)
:
NativeStoragePayload
on
Start
Link copied to clipboard
protected
open
fun
onStart
(
)
on
Stop
Link copied to clipboard
protected
open
fun
onStop
(
)
remove
Link copied to clipboard
abstract
fun
remove
(
key
:
NativeStorageKey
)
abstract
fun
remove
(
keys
:
Array
<
NativeStorageKey
>
)
start
Link copied to clipboard
fun
start
(
)
store
Link copied to clipboard
abstract
fun
store
(
key
:
NativeStorageKey
,
rawData
:
Array
<
Byte
>
)
translate
Exception
Link copied to clipboard
protected
open
fun
translateException
(
ex
:
Exception
)
:
RuntimeException