热重新加载coherence cache-config.xml

时间:2017-02-13 11:17:22

标签: java caching oracle-coherence

有没有办法在不重启节点的情况下重新加载Oracle Coherence cache-config.xml(例如:simple-cache-store-config.xml)? 更精确的任务 - 即时修改条目的到期时间"。

1 个答案:

答案 0 :(得分:0)

好的,有两种方法可以在“运行时”完成到期延迟修改: 1. Programmatic =使用NamedCache类方法:put(Object oKey,Object oValue,long expireDelay) 2.设置样式=使用企业管理器云控制实现Coherence:有选项“ExpiryDelay”。