temp-clone
simplestore-proto
/
com.uber.simplestore.proto
/
SimpleProtoStore
/
put
put
@
CheckReturnValue
abstract
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