类的使用
com.alicp.jetcache.CacheResult
使用CacheResult的程序包
-
com.alicp.jetcache中CacheResult的使用
声明为CacheResult的com.alicp.jetcache中的字段修饰符和类型字段说明static final CacheResultCacheResult.EXISTS_WITHOUT_MSGstatic final CacheResultCacheResult.FAIL_ILLEGAL_ARGUMENTstatic final CacheResultCacheResult.FAIL_WITHOUT_MSGstatic final CacheResultCacheResult.PART_SUCCESS_WITHOUT_MSGstatic final CacheResultCacheResult.SUCCESS_WITHOUT_MSG修饰符和类型方法说明final CacheResultdefault CacheResultAssociates the specified value with the specified key in the cache.Associates the specified value with the specified key in the cache.final CacheResultdefault CacheResultCopies all of the entries from the specified map to the cache.Copies all of the entries from the specified map to the cache.SimpleProxyCache.PUT_ALL(Map<? extends K, ? extends V> map, long expireAfterWrite, TimeUnit timeUnit) final CacheResultAbstractCache.PUT_IF_ABSENT(K key, V value, long expireAfterWrite, TimeUnit timeUnit) Cache.PUT_IF_ABSENT(K key, V value, long expireAfterWrite, TimeUnit timeUnit) If the specified key is not already associated with a value, associate it with the given value.SimpleProxyCache.PUT_IF_ABSENT(K key, V value, long expireAfterWrite, TimeUnit timeUnit) final CacheResultRemoves the mapping for a key from this cache if it is present.final CacheResultAbstractCache.REMOVE_ALL(Set<? extends K> keys) Cache.REMOVE_ALL(Set<? extends K> keys) Removes entries for the specified keys.SimpleProxyCache.REMOVE_ALL(Set<? extends K> keys) -
com.alicp.jetcache.event中CacheResult的使用
修饰符和类型方法说明CachePutAllEvent.getResult()CachePutEvent.getResult()CacheRemoveAllEvent.getResult()CacheRemoveEvent.getResult()参数类型为CacheResult的com.alicp.jetcache.event中的构造器限定符构造器说明CachePutAllEvent(Cache cache, long millis, Map map, CacheResult result) CachePutEvent(Cache cache, long millis, Object key, Object value, CacheResult result) CacheRemoveAllEvent(Cache cache, long millis, Set keys, CacheResult result) CacheRemoveEvent(Cache cache, long millis, Object key, CacheResult result) -
com.alicp.jetcache.support中CacheResult的使用