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 creatingTypeDescription
s 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. cacheProviders
The 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.CacheProvider
AgentBuilder.PoolStrategy.WithTypePoolCache. locate(java.lang.ClassLoader classLoader)
Locates a cache provider for a given class loader.protected TypePool.CacheProvider
AgentBuilder.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 class
TypePool.CacheProvider.Discriminating
A discriminating cache provider that delegates a type name to one of two caches.static class
TypePool.CacheProvider.NoOp
A non-operational cache that does not store any type descriptions.static class
TypePool.CacheProvider.Simple
A simple, thread-safe type cache based on aConcurrentHashMap
.Fields in net.bytebuddy.pool declared as TypePool.CacheProvider Modifier and Type Field Description protected TypePool.CacheProvider
TypePool.AbstractBase. cacheProvider
The cache provider of this instance.private TypePool.CacheProvider
TypePool.CacheProvider.Discriminating. matched
The cache provider to use for matched types.private TypePool.CacheProvider
TypePool.CacheProvider.Discriminating. unmatched
The cache provider to use for unmatched types.Methods in net.bytebuddy.pool that return TypePool.CacheProvider Modifier and Type Method Description static TypePool.CacheProvider
TypePool.CacheProvider.Simple. withObjectType()
Returns a simple cache provider that is prepopulated with theObject
type.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.
-