temp-clone
simplestore-proto
/
com.uber.simplestore.proto.impl
/
SimpleProtoStoreImpl
Simple
Proto
Store
Impl
class
SimpleProtoStoreImpl
:
SimpleProtoStore
Content copied to clipboard
Functions
Functions
clear
Link copied to clipboard
open
fun
clear
(
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
close
Link copied to clipboard
open
fun
close
(
)
Content copied to clipboard
contains
Link copied to clipboard
open
fun
contains
(
key
:
String
)
:
ListenableFuture
<
Boolean
>
Content copied to clipboard
delete
All
Now
Link copied to clipboard
open
fun
deleteAllNow
(
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
get
Link copied to clipboard
open
fun
get
(
key
:
String
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard
open
fun
<
T
:
MessageLite
?
>
get
(
key
:
String
,
parser
:
Parser
<
T
>
)
:
ListenableFuture
<
T
>
Content copied to clipboard
Read a protocol buffer from disk
get
String
Link copied to clipboard
open
fun
getString
(
key
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
put
Link copied to clipboard
open
fun
<
T
:
MessageLite
?
>
put
(
key
:
String
,
@
Nullable
value
:
T
)
:
ListenableFuture
<
T
>
Content copied to clipboard
Write a protocol buffer to disk
open
fun
put
(
key
:
String
,
@
Nullable
value
:
Array
<
Byte
>
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard
put
String
Link copied to clipboard
open
fun
putString
(
key
:
String
,
@
Nullable
value
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
remove
Link copied to clipboard
open
fun
remove
(
key
:
String
)
:
ListenableFuture
<
Void
>
Content copied to clipboard