temp-clone
simplestore
/
com.uber.simplestore.primitive
/
PrimitiveSimpleStore
/
put
put
@
CheckReturnValue
abstract
fun
put
(
key
:
String
,
value
:
Int
)
:
ListenableFuture
<
Integer
>
Content copied to clipboard
@
CheckReturnValue
abstract
fun
put
(
key
:
String
,
value
:
Long
)
:
ListenableFuture
<
Long
>
Content copied to clipboard
@
CheckReturnValue
abstract
fun
put
(
key
:
String
,
value
:
Boolean
)
:
ListenableFuture
<
Boolean
>
Content copied to clipboard
@
CheckReturnValue
abstract
fun
put
(
key
:
String
,
value
:
Double
)
:
ListenableFuture
<
Double
>
Content copied to clipboard
@
CheckReturnValue
abstract
fun
put
(
key
:
String
,
value
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
Store string as #
UTF_16BE
.
Putting "" will remove the value from disk.
Return
stored value
Parameters
key
name
value
to store