Package io.ebean.enhance.common
Class ClassMetaCache
java.lang.Object
io.ebean.enhance.common.ClassMetaCache
public class ClassMetaCache extends Object
Cache of ClassMeta.
The fallbackCache part is designed to help with incremental compilation by holding
a copy of meta data for mapped superclass beans.
-
Constructor Summary
Constructors Constructor Description ClassMetaCache() -
Method Summary
Modifier and Type Method Description Set<String>fallbackKeys()ClassMetaget(String name)Map<String,ClassMeta>getCache()ClassMetagetFallback(String className)Map<String,ClassMeta>getFallbackCache()intgetFallbackHits()voidput(String name, ClassMeta meta)voidsetFallback()Put MappedSuperclass classMeta into the fallback cache.
-
Constructor Details
-
ClassMetaCache
public ClassMetaCache()
-
-
Method Details
-
get
-
put
-
getFallback
-
fallbackKeys
-
setFallback
Put MappedSuperclass classMeta into the fallback cache. -
getCache
-
getFallbackCache
-
getFallbackHits
-