temp-clone
simplestore-proto
/
com.uber.simplestore.proto
/
SimpleProtoStore
Simple
Proto
Store
interface
SimpleProtoStore
:
SimpleStore
Content copied to clipboard
Read and write protocol buffer values from keys on disk.
Functions
Inheritors
Functions
clear
Link copied to clipboard
abstract
fun
clear
(
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
close
Link copied to clipboard
abstract
fun
close
(
)
Content copied to clipboard
contains
Link copied to clipboard
abstract
fun
contains
(
p
:
String
)
:
ListenableFuture
<
Boolean
>
Content copied to clipboard
delete
All
Now
Link copied to clipboard
abstract
fun
deleteAllNow
(
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
get
Link copied to clipboard
abstract
fun
get
(
p
:
String
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard
@
CheckReturnValue
abstract
fun
<
T
:
MessageLite
?
>
get
(
key
:
String
,
parser
:
Parser
<
T
>
)
:
ListenableFuture
<
T
>
Content copied to clipboard
Read a protocol buffer from disk
get
String
Link copied to clipboard
abstract
fun
getString
(
p
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
put
Link copied to clipboard
@
CheckReturnValue
abstract
fun
<
T
:
MessageLite
?
>
put
(
key
:
String
,
@
Nullable
value
:
T
)
:
ListenableFuture
<
T
>
Content copied to clipboard
Write a protocol buffer to disk
abstract
fun
put
(
p
:
String
,
p1
:
Array
<
Byte
>
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard
put
String
Link copied to clipboard
abstract
fun
putString
(
p
:
String
,
p1
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
remove
Link copied to clipboard
abstract
fun
remove
(
p
:
String
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
Inheritors
SimpleProtoStoreImpl
Link copied to clipboard