public final class ClassResolvers extends Object
Modifier and Type | Method and Description |
---|---|
static ClassResolver |
cacheDisabled(ClassLoader classLoader)
cache disabled
|
static ClassResolver |
softCachingConcurrentResolver(ClassLoader classLoader)
agressive concurrent cache
good for shared cache, when we're not worried about class unloading
|
static ClassResolver |
softCachingResolver(ClassLoader classLoader)
agressive non-concurrent cache
good for non-shared cache, when we're not worried about class unloading
|
static ClassResolver |
weakCachingConcurrentResolver(ClassLoader classLoader)
non-agressive concurrent cache
good for shared cache, when we're worried about class unloading
|
static ClassResolver |
weakCachingResolver(ClassLoader classLoader)
non-agressive non-concurrent cache
good for non-shared default cache
|
public static ClassResolver cacheDisabled(ClassLoader classLoader)
classLoader
- - specific classLoader to use, or null if you want to revert to defaultpublic static ClassResolver weakCachingResolver(ClassLoader classLoader)
classLoader
- - specific classLoader to use, or null if you want to revert to defaultpublic static ClassResolver softCachingResolver(ClassLoader classLoader)
classLoader
- - specific classLoader to use, or null if you want to revert to defaultpublic static ClassResolver weakCachingConcurrentResolver(ClassLoader classLoader)
classLoader
- - specific classLoader to use, or null if you want to revert to defaultpublic static ClassResolver softCachingConcurrentResolver(ClassLoader classLoader)
classLoader
- - specific classLoader to use, or null if you want to revert to defaultCopyright © 2008–2017 The Netty Project. All rights reserved.