本文整理了Java中net.sf.ehcache.Cache.getCacheExceptionHandler()
方法的一些代码示例,展示了Cache.getCacheExceptionHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Cache.getCacheExceptionHandler()
方法的具体详情如下:
包路径:net.sf.ehcache.Cache
类名称:Cache
方法名:getCacheExceptionHandler
[英]Gets the ExceptionHandler on this Cache, or null if there isn't one.
The ExceptionHandler is only used if this Cache's methods are accessed using net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy.
[中]获取此缓存上的ExceptionHandler,如果没有,则为null。
ExceptionHandler仅在使用net访问此缓存的方法时使用。旧金山。ehcache。例外处理程序。例外处理DynamicCacheProxy。
代码示例来源:origin: net.sf.ehcache/ehcache
/**
* Sets an ExceptionHandler on the Cache. If one is already set, it is overwritten.
* <p>
* The ExceptionHandler is only used if this Cache's methods are accessed using
* {@link net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy}.
*
* @see net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
*/
public void setCacheExceptionHandler(CacheExceptionHandler cacheExceptionHandler) {
CacheExceptionHandler oldValue = getCacheExceptionHandler();
this.cacheExceptionHandler = cacheExceptionHandler;
firePropertyChange("CacheExceptionHandler", oldValue, cacheExceptionHandler);
}
代码示例来源:origin: net.sf.ehcache.internal/ehcache-core
/**
* Sets an ExceptionHandler on the Cache. If one is already set, it is overwritten.
* <p>
* The ExceptionHandler is only used if this Cache's methods are accessed using
* {@link net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy}.
*
* @see net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
*/
public void setCacheExceptionHandler(CacheExceptionHandler cacheExceptionHandler) {
CacheExceptionHandler oldValue = getCacheExceptionHandler();
this.cacheExceptionHandler = cacheExceptionHandler;
firePropertyChange("CacheExceptionHandler", oldValue, cacheExceptionHandler);
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache
/**
* Sets an ExceptionHandler on the Cache. If one is already set, it is overwritten.
* <p/>
* The ExceptionHandler is only used if this Cache's methods are accessed using
* {@link net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy}.
*
* @see net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
*/
public void setCacheExceptionHandler(CacheExceptionHandler cacheExceptionHandler) {
CacheExceptionHandler oldValue = getCacheExceptionHandler();
this.cacheExceptionHandler = cacheExceptionHandler;
firePropertyChange("CacheExceptionHandler", oldValue, cacheExceptionHandler);
}
代码示例来源:origin: org.sonatype.nexus.bundles/org.sonatype.nexus.bundles.ehcache
/**
* Sets an ExceptionHandler on the Cache. If one is already set, it is overwritten.
* <p/>
* The ExceptionHandler is only used if this Cache's methods are accessed using
* {@link net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy}.
*
* @see net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
*/
public void setCacheExceptionHandler(CacheExceptionHandler cacheExceptionHandler) {
CacheExceptionHandler oldValue = getCacheExceptionHandler();
this.cacheExceptionHandler = cacheExceptionHandler;
firePropertyChange("CacheExceptionHandler", oldValue, cacheExceptionHandler);
}
内容来源于网络,如有侵权,请联系作者删除!