- Common ways to obtain CacheLongKeyLIRS$Config
private void myMethod () {}
int mb = DataUtils.getConfigParam(config, "cacheSize", 16); if (mb > 0) { cc = new CacheLongKeyLIRS.Config(); cc.maxMemory = mb * 1024L * 1024L; Object o = config.get("cacheConcurrency");
int mb = o == null ? 16 : (Integer) o; if (mb > 0) { CacheLongKeyLIRS.Config cc = new CacheLongKeyLIRS.Config(); cc.maxMemory = mb * 1024L * 1024L; cache = new CacheLongKeyLIRS<Page>(cc);
int mb = o == null ? 16 : (Integer) o; if (mb > 0) { CacheLongKeyLIRS.Config cc = new CacheLongKeyLIRS.Config(); cc.maxMemory = mb * 1024L * 1024L; o = config.get("cacheConcurrency");
int mb = DataUtils.getConfigParam(config, "cacheSize", 16); if (mb > 0) { cc = new CacheLongKeyLIRS.Config(); cc.maxMemory = mb * 1024L * 1024L; Object o = config.get("cacheConcurrency");