SimpleProtoStoreImpl

class SimpleProtoStoreImpl : SimpleProtoStore

Functions

Link copied to clipboard
open fun clear(): ListenableFuture<Void>
Link copied to clipboard
open fun close()
Link copied to clipboard
open fun contains(key: String): ListenableFuture<Boolean>
Link copied to clipboard
open fun deleteAllNow(): ListenableFuture<Void>
Link copied to clipboard
open fun get(key: String): ListenableFuture<Array<Byte>>

open fun <T : MessageLite?> get(key: String, parser: Parser<T>): ListenableFuture<T>
Read a protocol buffer from disk
Link copied to clipboard
open fun getString(key: String): ListenableFuture<String>
Link copied to clipboard
open fun <T : MessageLite?> put(key: String, @Nullable value: T): ListenableFuture<T>
Write a protocol buffer to disk
open fun put(key: String, @Nullable value: Array<Byte>): ListenableFuture<Array<Byte>>
Link copied to clipboard
open fun putString(key: String, @Nullable value: String): ListenableFuture<String>
Link copied to clipboard
open fun remove(key: String): ListenableFuture<Void>