Uses of Enum Class
cn.leancloud.LCQuery.CachePolicy
Packages that use LCQuery.CachePolicy
-
Uses of LCQuery.CachePolicy in cn.leancloud
Methods in cn.leancloud that return LCQuery.CachePolicyModifier and TypeMethodDescriptionLCQuery.getCachePolicy()Accessor for the caching policy.LCQuery.getPolicy()Get cache policy.static LCQuery.CachePolicyReturns the enum constant of this class with the specified name.static LCQuery.CachePolicy[]LCQuery.CachePolicy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cn.leancloud with parameters of type LCQuery.CachePolicyModifier and TypeMethodDescriptionstatic <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.setCachePolicy(LCQuery.CachePolicy cachePolicy) Change the caching policy of this query.LCQuery.setPolicy(LCQuery.CachePolicy policy) Change the caching policy of this query. -
Uses of LCQuery.CachePolicy in cn.leancloud.core
Methods in cn.leancloud.core with parameters of type LCQuery.CachePolicyModifier and TypeMethodDescription<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) StorageClient.queryObjects(LCUser authenticatedUser, String className, String endPoint, Map<String, String> query, LCQuery.CachePolicy cachePolicy, long maxAgeInMilliseconds)