org.apache.cayenne.jcache.JCacheQueryCache.class Maven / Gradle / Ivy
???? 3 ?
u v
u
w x ( y z {
| } ~
( ? ? ? ?
? ? ? ? ? ? ( ? ? ? ? ? ? ? ? ?
( ? ? ? ? ? ? ? ? ?
( ?
( ?
( ? ? ? ? ( ? ? ? ? ? ? ? z ? ? ? ? ? ? ? cacheManager Ljavax/cache/CacheManager; RuntimeVisibleAnnotations Lorg/apache/cayenne/di/Inject; configurationFactory 6Lorg/apache/cayenne/jcache/JCacheConfigurationFactory; seenCacheNames Ljava/util/Set; Signature #Ljava/util/Set; ()V Code LineNumberTable LocalVariableTable this ,Lorg/apache/cayenne/jcache/JCacheQueryCache; get :(Lorg/apache/cayenne/query/QueryMetadata;)Ljava/util/List; metadata (Lorg/apache/cayenne/query/QueryMetadata; key Ljava/lang/String; cache Ljavax/cache/Cache; LocalVariableTypeTable 7Ljavax/cache/Cache; k(Lorg/apache/cayenne/query/QueryMetadata;Lorg/apache/cayenne/cache/QueryCacheEntryFactory;)Ljava/util/List; factory 1Lorg/apache/cayenne/cache/QueryCacheEntryFactory; result Ljava/util/List; Ljava/util/List<*>;
StackMapTable ~ ? ? put ;(Lorg/apache/cayenne/query/QueryMetadata;Ljava/util/List;)V results remove (Ljava/lang/String;)V ? removeGroup groupKey 7(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;)V keyType Ljava/lang/Class; valueType Ljava/lang/Class<*>; =(Ljava/lang/String;Ljava/lang/Class<*>;Ljava/lang/Class<*>;)V clear name size ()I
Deprecated Ljava/lang/Deprecated; createIfAbsent =(Lorg/apache/cayenne/query/QueryMetadata;)Ljavax/cache/Cache; a(Lorg/apache/cayenne/query/QueryMetadata;)Ljavax/cache/Cache; '(Ljava/lang/String;)Ljavax/cache/Cache; e Ljavax/cache/CacheException; cacheName ? ? K(Ljava/lang/String;)Ljavax/cache/Cache; createCache getCache <(Lorg/apache/cayenne/query/QueryMetadata;)Ljava/lang/String;
cacheGroup shutdown &Lorg/apache/cayenne/di/BeforeScopeEnd;
SourceFile JCacheQueryCache.java 4 5 &java/util/concurrent/ConcurrentHashMap ? ? ? 0 1 ? ? ? ? ? ? java/lang/String c d ? ; ? java/util/List +org/apache/cayenne/jcache/JCacheEntryLoader 4 ? java/lang/Object ? ? O ? * + ? ? ? ? ? ? ? ? ? ? ? n f R ? ] 5 n ? ? i o c f m f javax/cache/CacheException ? ? . / ? ? ? m ? ? ? )org/apache/cayenne/jcache/JCacheConstants cayenne.default.cache ? 5 *org/apache/cayenne/jcache/JCacheQueryCache #org/apache/cayenne/cache/QueryCache javax/cache/Cache java/util/Iterator java/util/Collections
newSetFromMap (Ljava/util/Map;)Ljava/util/Set; &org/apache/cayenne/query/QueryMetadata getCacheKey ()Ljava/lang/String; java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; 4(Lorg/apache/cayenne/cache/QueryCacheEntryFactory;)V invoke _(Ljava/lang/Object;Ljavax/cache/processor/EntryProcessor;[Ljava/lang/Object;)Ljava/lang/Object; '(Ljava/lang/Object;Ljava/lang/Object;)V javax/cache/CacheManager
getCacheNames ()Ljava/lang/Iterable; java/lang/Iterable iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; (Ljava/lang/Object;)Z I(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;)Ljavax/cache/Cache;
java/util/Set add 4org/apache/cayenne/jcache/JCacheConfigurationFactory create =(Ljava/lang/String;)Ljavax/cache/configuration/Configuration; P(Ljava/lang/String;Ljavax/cache/configuration/Configuration;)Ljavax/cache/Cache;
getCacheGroup close ! ( ) * + , - . / , - 0 1 2 3 4 5 6 A *? *? Y? ? ? ? 7
( 0 8 9 : ; <