CacheStoreProviderImpl.java
4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.forms.cache.CacheStore
* com.adobe.forms.cache.CacheStoreProvider
* com.adobe.forms.cache.impl.LRUCache
* org.apache.felix.scr.annotations.Component
* org.apache.felix.scr.annotations.Service
* scala.MatchError
* scala.ScalaObject
* scala.reflect.ScalaSignature
* scala.runtime.BoxesRunTime
*/
package com.adobe.forms.aem.cache.impl;
import com.adobe.forms.aem.cache.impl.NativeCacheStoreImpl;
import com.adobe.forms.cache.CacheStore;
import com.adobe.forms.cache.CacheStoreProvider;
import com.adobe.forms.cache.impl.LRUCache;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
import scala.MatchError;
import scala.ScalaObject;
import scala.reflect.ScalaSignature;
import scala.runtime.BoxesRunTime;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
@Component(immediate=1)
@Service(value={CacheStoreProvider.class})
@ScalaSignature(bytes="\u0006\u0001\u00054A!\u0001\u0002\u0001\u001f\t12)Y2iKN#xN]3Qe>4\u0018\u000eZ3s\u00136\u0004HN\u0003\u0002\u0004\t\u0005!\u0011.\u001c9m\u0015\t)a!A\u0003dC\u000eDWM\u0003\u0002\b\u0011\u0005\u0019\u0011-Z7\u000b\u0005%Q\u0011!\u00024pe6\u001c(BA\u0006\r\u0003\u0015\tGm\u001c2f\u0015\u0005i\u0011aA2p[\u000e\u00011\u0003\u0002\u0001\u00111u\u0001\"!\u0005\f\u000e\u0003IQ!a\u0005\u000b\u0002\t1\fgn\u001a\u0006\u0002+\u0005!!.\u0019<b\u0013\t9\"C\u0001\u0004PE*,7\r\u001e\t\u00033mi\u0011A\u0007\u0006\u0003\u000b!I!\u0001\b\u000e\u0003%\r\u000b7\r[3Ti>\u0014X\r\u0015:pm&$WM\u001d\t\u0003=\u0005j\u0011a\b\u0006\u0002A\u0005)1oY1mC&\u0011!e\b\u0002\f'\u000e\fG.Y(cU\u0016\u001cG\u000fC\u0003%\u0001\u0011\u0005Q%\u0001\u0004=S:LGO\u0010\u000b\u0002MA\u0011q\u0005A\u0007\u0002\u0005!9\u0011\u0006\u0001b\u0001\n\u0013Q\u0013AD0dC\u000eDWm\u0015;pe\u0016l\u0015\r]\u000b\u0002WA!A&M\u001a;\u001b\u0005i#B\u0001\u00180\u0003)\u0019wN\\2veJ,g\u000e\u001e\u0006\u0003aQ\tA!\u001e;jY&\u0011!'\f\u0002\u0012\u0007>t7-\u001e:sK:$\b*Y:i\u001b\u0006\u0004\bC\u0001\u001b8\u001d\tqR'\u0003\u00027?\u00051\u0001K]3eK\u001aL!\u0001O\u001d\u0003\rM#(/\u001b8h\u0015\t1t\u0004\u0005\u0002\u001aw%\u0011AH\u0007\u0002\u000b\u0007\u0006\u001c\u0007.Z*u_J,\u0007B\u0002 \u0001A\u0003%1&A\b`G\u0006\u001c\u0007.Z*u_J,W*\u00199!\u0011\u0015\u0001\u0005\u0001\"\u0001B\u0003\u0019\u0019'/Z1uKR\u0019!H\u0011#\t\u000b\r{\u0004\u0019A\u001a\u0002\u0013\r\f7\r[3OC6,\u0007\"B#@\u0001\u00041\u0015\u0001\u00047sk\u000e\u000b7\r[3TSj,\u0007C\u0001\u0010H\u0013\tAuD\u0001\u0003M_:<\u0007\u0006\u0002\u0001K1f\u0003\"a\u0013,\u000e\u00031S!!\u0014(\u0002\u0017\u0005tgn\u001c;bi&|gn\u001d\u0006\u0003\u001fB\u000b1a]2s\u0015\t\t&+A\u0003gK2L\u0007P\u0003\u0002T)\u00061\u0011\r]1dQ\u0016T\u0011!V\u0001\u0004_J<\u0017BA,M\u0005\u001d\u0019VM\u001d<jG\u0016\fQA^1mk\u0016d\u0013AW\u0012\u00021!\"\u0001\u0001X0a!\tYU,\u0003\u0002_\u0019\nI1i\\7q_:,g\u000e^\u0001\nS6lW\rZ5bi\u0016L\u0012!\u0001")
public class CacheStoreProviderImpl
implements CacheStoreProvider,
ScalaObject {
private final ConcurrentHashMap<String, CacheStore> _cacheStoreMap = new ConcurrentHashMap(3);
private ConcurrentHashMap<String, CacheStore> _cacheStoreMap() {
return this._cacheStoreMap;
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public CacheStore create(String cacheName, long lruCacheSize) {
CacheStore cacheStore;
boolean bl = this._cacheStoreMap().containsKey(cacheName);
if (bl) {
cacheStore = this._cacheStoreMap().get(cacheName);
return cacheStore;
} else {
if (bl) throw new MatchError((Object)BoxesRunTime.boxToBoolean((boolean)bl));
NativeCacheStoreImpl cacheStore2 = new NativeCacheStoreImpl(new LRUCache(lruCacheSize));
this._cacheStoreMap().put(cacheName, cacheStore2);
cacheStore = cacheStore2;
}
return cacheStore;
}
}