SalesforceMobileSDK-Android
Toggle table of contents
14.0.0-rc.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SalesforceMobileSDK-Android
SmartStore
/
com.salesforce.androidsdk.smartstore.store
/
MemCachedKeyValueStore
Mem
Cached
Key
Value
Store
open
class
MemCachedKeyValueStore
:
KeyValueStore
Key value store that keeps recently accessed values in a in-memory lru cache for faster access
Members
Constructors
Mem
Cached
Key
Value
Store
Link copied to clipboard
constructor
(
keyValueStore
:
KeyValueStore
,
cacheSize
:
Int
)
Functions
contains
Link copied to clipboard
open
fun
contains
(
key
:
String
)
:
Boolean
count
Link copied to clipboard
open
fun
count
(
)
:
Int
delete
All
Link copied to clipboard
open
fun
deleteAll
(
)
:
Boolean
delete
Value
Link copied to clipboard
open
fun
deleteValue
(
key
:
String
)
:
Boolean
get
Store
Name
Link copied to clipboard
open
fun
getStoreName
(
)
:
String
get
Stream
Link copied to clipboard
open
fun
getStream
(
key
:
String
)
:
InputStream
get
Value
Link copied to clipboard
open
fun
getValue
(
key
:
String
)
:
String
is
Empty
Link copied to clipboard
open
fun
isEmpty
(
)
:
Boolean
key
Set
Link copied to clipboard
open
fun
keySet
(
)
:
Set
<
String
>
save
Stream
Link copied to clipboard
open
fun
saveStream
(
key
:
String
,
stream
:
InputStream
)
:
Boolean
save
Value
Link copied to clipboard
open
fun
saveValue
(
key
:
String
,
value
:
String
)
:
Boolean