Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/381.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java @CachePut句柄错误_Java_Spring_Caching_Memcached - Fatal编程技术网

Java @CachePut句柄错误

Java @CachePut句柄错误,java,spring,caching,memcached,Java,Spring,Caching,Memcached,我正在使用Spring,特别是Spring缓存抽象,我想知道当我有一个带有注释@CachePut的方法并且缓存关闭时会发生什么,我如何了解这种情况?saveSession方法中的代码将在将值放入缓存后执行,但在成功或失败的情况下会执行,我想知道发生了什么 @CachePut(value = value , key = key) public SessionCache saveSession(String value, SessionCache sessionCache) { ... }

我正在使用Spring,特别是Spring缓存抽象,我想知道当我有一个带有注释@CachePut的方法并且缓存关闭时会发生什么,我如何了解这种情况?saveSession方法中的代码将在将值放入缓存后执行,但在成功或失败的情况下会执行,我想知道发生了什么

@CachePut(value = value , key = key)
public SessionCache saveSession(String value, SessionCache sessionCache) {
   ...
}