SimpleProtoStore

interface SimpleProtoStore : SimpleStore

Read and write protocol buffer values from keys on disk.

Functions

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

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

Inheritors

Link copied to clipboard