Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何在运行时创建 JCS 缓存区域?
JCS jcs = JCS.getInstance("REGION"); IElementAttributes attr = new ElementAttributes(); attr.setIsEternal(false); attr.setMaxLifeSeconds( maxLife ); jcs.put("Key",data, attr);