Uses of Interface
net.bytebuddy.pool.TypePool.CacheProvider
-
Packages that use TypePool.CacheProvider Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescriptions without loading any classes. -
-
Uses of TypePool.CacheProvider in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder with type parameters of type TypePool.CacheProvider Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<? super java.lang.ClassLoader,TypePool.CacheProvider>AgentBuilder.PoolStrategy.WithTypePoolCache.Simple. cacheProvidersThe concurrent map that is used for storing a cache provider per class loader.Methods in net.bytebuddy.agent.builder that return TypePool.CacheProvider Modifier and Type Method Description protected abstract TypePool.CacheProviderAgentBuilder.PoolStrategy.WithTypePoolCache. locate(java.lang.ClassLoader classLoader)Locates a cache provider for a given class loader.protected TypePool.CacheProviderAgentBuilder.PoolStrategy.WithTypePoolCache.Simple. locate(java.lang.ClassLoader classLoader)Constructor parameters in net.bytebuddy.agent.builder with type arguments of type TypePool.CacheProvider Constructor Description Simple(java.util.concurrent.ConcurrentMap<? super java.lang.ClassLoader,TypePool.CacheProvider> cacheProviders)Creates a new type locator that caches a cache provider per class loader in a concurrent map.Simple(TypePool.Default.ReaderMode readerMode, java.util.concurrent.ConcurrentMap<? super java.lang.ClassLoader,TypePool.CacheProvider> cacheProviders)Creates a new type locator that caches a cache provider per class loader in a concurrent map. -
Uses of TypePool.CacheProvider in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement TypePool.CacheProvider Modifier and Type Class Description static classTypePool.CacheProvider.DiscriminatingA discriminating cache provider that delegates a type name to one of two caches.static classTypePool.CacheProvider.NoOpA non-operational cache that does not store any type descriptions.static classTypePool.CacheProvider.SimpleA simple, thread-safe type cache based on aConcurrentHashMap.Fields in net.bytebuddy.pool declared as TypePool.CacheProvider Modifier and Type Field Description protected TypePool.CacheProviderTypePool.AbstractBase. cacheProviderThe cache provider of this instance.private TypePool.CacheProviderTypePool.CacheProvider.Discriminating. matchedThe cache provider to use for matched types.private TypePool.CacheProviderTypePool.CacheProvider.Discriminating. unmatchedThe cache provider to use for unmatched types.Methods in net.bytebuddy.pool that return TypePool.CacheProvider Modifier and Type Method Description static TypePool.CacheProviderTypePool.CacheProvider.Simple. withObjectType()Returns a simple cache provider that is prepopulated with theObjecttype.Constructors in net.bytebuddy.pool with parameters of type TypePool.CacheProvider Constructor Description AbstractBase(TypePool.CacheProvider cacheProvider)Creates a new instance.ClassLoading(TypePool.CacheProvider cacheProvider, TypePool parent, java.lang.ClassLoader classLoader)Creates a class loadings type pool.Default(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode)Creates a new default type pool without a parent pool.Default(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode, TypePool parentPool)Creates a new default type pool.Discriminating(ElementMatcher<java.lang.String> matcher, TypePool.CacheProvider matched, TypePool.CacheProvider unmatched)Creates a new discriminating cache provider.Hierarchical(TypePool.CacheProvider cacheProvider, TypePool parent)Creates a hierarchical type pool.WithLazyResolution(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode)Creates a new default type pool with lazy resolution and without a parent pool.WithLazyResolution(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode, TypePool parentPool)Creates a new default type pool with lazy resolution.
-