public static enum DatasetBuilder.CacheTemplate extends Enum<DatasetBuilder.CacheTemplate> implements DatasetBuilder.CacheSet
| Enum Constant and Description |
|---|
Default
The default settings.
|
HighConcurrency
Cache sizes optimised for a highly concurrent environment, around 100
threads and up.
|
MultiThread
Cache sizes optimised for a multi threaded environment using a JVM
limited to between 150-250 Mb.
|
MultiThreadLowMemory
Cache sizes optimised for a multi threaded environment using a JVM
limited to around 100 Mb.
|
SingleThread
Cache sizes optimised for a single threaded environment using a JVM
limited to between 150-250 Mb.
|
SingleThreadLowMemory
Cache sizes optimised for a single threaded environment using a JVM
limited to around 100 Mb.
|
| Modifier and Type | Method and Description |
|---|---|
Map<DatasetBuilder.CacheType,ICacheOptions> |
getCacheConfiguration() |
static DatasetBuilder.CacheTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasetBuilder.CacheTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasetBuilder.CacheTemplate Default
public static final DatasetBuilder.CacheTemplate SingleThreadLowMemory
public static final DatasetBuilder.CacheTemplate SingleThread
public static final DatasetBuilder.CacheTemplate MultiThreadLowMemory
public static final DatasetBuilder.CacheTemplate MultiThread
public static final DatasetBuilder.CacheTemplate HighConcurrency
public static DatasetBuilder.CacheTemplate[] values()
for (DatasetBuilder.CacheTemplate c : DatasetBuilder.CacheTemplate.values()) System.out.println(c);
public static DatasetBuilder.CacheTemplate valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Map<DatasetBuilder.CacheType,ICacheOptions> getCacheConfiguration()
getCacheConfiguration in interface DatasetBuilder.CacheSetCopyright © 2017 51Degrees. All rights reserved.