trixnity-client
Toggle table of contents
4.14.1
common
Platform filter
common
Switch theme
Search in API
trixnity-client
trixnity-client
/
net.folivo.trixnity.client.store.repository
/
InMemoryServerDataRepository
In
Memory
Server
Data
Repository
class
InMemoryServerDataRepository
:
InMemoryMinimalRepository
<
Long
,
ServerData
>
,
ServerDataRepository
Members
Constructors
In
Memory
Server
Data
Repository
Link copied to clipboard
constructor
(
)
Properties
content
Link copied to clipboard
val
content
:
MutableStateFlow
<
Map
<
Long
,
ServerData
>
>
Functions
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
key
:
Long
)
delete
All
Link copied to clipboard
abstract
suspend
fun
deleteAll
(
)
get
Link copied to clipboard
abstract
suspend
fun
get
(
key
:
Long
)
:
ServerData
?
save
Link copied to clipboard
abstract
suspend
fun
save
(
key
:
Long
,
value
:
ServerData
)
serialize
Key
Link copied to clipboard
open
override
fun
serializeKey
(
key
:
Long
)
:
String