put

abstract fun put(key: String, value: Int): ListenableFuture<Integer>
abstract fun put(key: String, value: Long): ListenableFuture<Long>
abstract fun put(key: String, value: Boolean): ListenableFuture<Boolean>
abstract fun put(key: String, value: Double): ListenableFuture<Double>


abstract fun put(key: String, value: String): ListenableFuture<String>

Store string as #UTF_16BE.

Putting "" will remove the value from disk.

Return

stored value

Parameters

key

name

value

to store