temp-clone
simplestore-proto
/
com.uber.simplestore.proto.impl
/
SimpleProtoStoreImpl
/
put
put
open
fun
<
T
:
MessageLite
?
>
put
(
key
:
String
,
@
Nullable
value
:
T
)
:
ListenableFuture
<
T
>
Content copied to clipboard
Write a protocol buffer to disk
Return
value if success
Parameters
key
to store to
value
to store
<T>
proto type
open
fun
put
(
key
:
String
,
@
Nullable
value
:
Array
<
Byte
>
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard