Package | Description |
---|---|
cn.leancloud | |
cn.leancloud.core | |
cn.leancloud.im.v2 |
Modifier and Type | Method and Description |
---|---|
LCQuery.CachePolicy |
LCQuery.getCachePolicy()
Accessor for the caching policy.
|
LCQuery.CachePolicy |
LCQuery.getPolicy()
Get cache policy.
|
static LCQuery.CachePolicy |
LCQuery.CachePolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LCQuery.CachePolicy[] |
LCQuery.CachePolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> io.reactivex.Observable<T> |
LCCloud.callFunctionWithCacheInBackground(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz)
call cloud funtion with cache policy.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callFunctionWithCacheInBackground(String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz)
call cloud funtion with cache policy.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callRPCWithCacheInBackground(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz)
Call Cloud RPC Function with cache policy in Background.
|
static <T> io.reactivex.Observable<T> |
LCCloud.callRPCWithCacheInBackground(String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz)
Call Cloud RPC Function with cache policy in Background.
|
LCQuery<T> |
LCQuery.setCachePolicy(LCQuery.CachePolicy cachePolicy)
Change the caching policy of this query.
|
LCQuery<T> |
LCQuery.setPolicy(LCQuery.CachePolicy policy)
Change the caching policy of this query.
|
Modifier and Type | Method and Description |
---|---|
<T> io.reactivex.Observable<T> |
StorageClient.callFunctionWithCachePolicy(LCUser asAuthenticatedUser,
String name,
Map<String,Object> params,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz) |
<T> io.reactivex.Observable<T> |
StorageClient.callRPCWithCachePolicy(LCUser asAuthenticatedUser,
String name,
Map<String,Object> param,
LCQuery.CachePolicy cachePolicy,
long maxCacheAge,
Class<T> clazz) |
io.reactivex.Observable<List<LCObject>> |
StorageClient.queryObjects(LCUser authenticatedUser,
String className,
String endPoint,
Map<String,String> query,
LCQuery.CachePolicy cachePolicy,
long maxAgeInMilliseconds) |
Modifier and Type | Method and Description |
---|---|
void |
LCIMConversationsQuery.setQueryPolicy(LCQuery.CachePolicy policy)
设置 IMConversationsQuery 的查询策略
|
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.