temp-clone
simplestore-testing
/
com.uber.simplestore.fakes
/
FakeSimpleStore
Fake
Simple
Store
class
FakeSimpleStore
:
SimpleStore
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Fake
Simple
Store
Link copied to clipboard
open
fun
FakeSimpleStore
(
)
Content copied to clipboard
Functions
clear
Link copied to clipboard
open
fun
clear
(
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
close
Link copied to clipboard
open
fun
close
(
)
Content copied to clipboard
contains
Link copied to clipboard
open
fun
contains
(
key
:
String
)
:
ListenableFuture
<
Boolean
>
Content copied to clipboard
delete
All
Now
Link copied to clipboard
open
fun
deleteAllNow
(
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
get
Link copied to clipboard
open
fun
get
(
key
:
String
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard
get
String
Link copied to clipboard
open
fun
getString
(
key
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
put
Link copied to clipboard
open
fun
put
(
key
:
String
,
@
Nullable
value
:
Array
<
Byte
>
)
:
ListenableFuture
<
Array
<
Byte
>
>
Content copied to clipboard
put
String
Link copied to clipboard
open
fun
putString
(
key
:
String
,
@
Nullable
value
:
String
)
:
ListenableFuture
<
String
>
Content copied to clipboard
remove
Link copied to clipboard
open
fun
remove
(
key
:
String
)
:
ListenableFuture
<
Void
>
Content copied to clipboard
Properties
failureType
Link copied to clipboard
@
Nullable
private
open
var
failureType
:
Throwable
Content copied to clipboard