public class DefaultTopCodeCacheFactory extends Object implements TopCodeCacheFactory
DefaultTopCodeCache| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTopCodeCacheFactory.Builder
Builder for instances of
DefaultTopCodeCacheFactory. |
| Modifier | Constructor and Description |
|---|---|
|
DefaultTopCodeCacheFactory()
constructor from defaults for all settings.
|
|
DefaultTopCodeCacheFactory(CompilerFactory compilerFactory)
constructor from given compiler factory and defaults for all other settings.
|
protected |
DefaultTopCodeCacheFactory(DefaultTopCodeCacheFactory.Builder builder)
constructor from builder.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultTopCodeCacheFactory.Builder |
getBuilder()
gets the builder.
|
CompilerFactory |
getCompilerFactory()
gets the compiler factory.
|
TopCodeCache |
newTopCodeCache(ClassLoader parent)
creates a new
TopCodeCache instance with given parent class loader. |
protected DefaultTopCodeCacheFactory(DefaultTopCodeCacheFactory.Builder builder)
builder - builderpublic DefaultTopCodeCacheFactory()
public DefaultTopCodeCacheFactory(CompilerFactory compilerFactory)
compilerFactory - compiler factoryNullPointerException - if the compiler factory is nullpublic TopCodeCache newTopCodeCache(ClassLoader parent)
TopCodeCacheFactoryTopCodeCache instance with given parent class loader.newTopCodeCache in interface TopCodeCacheFactoryparent - parent class loaderpublic DefaultTopCodeCacheFactory.Builder getBuilder()
public CompilerFactory getCompilerFactory()