public final class LuceneCacheLoaderConfig extends Object implements CacheLoaderConfig
LuceneCacheLoader
.Modifier and Type | Field and Description |
---|---|
static String |
AUTO_CHUNK_SIZE_OPTION |
protected int |
autoChunkSize
Auto split huge files in blocks, by default of 32MB
|
protected String |
location
Path of the root directory containing all indexes
|
static String |
LOCATION_OPTION |
Constructor and Description |
---|
LuceneCacheLoaderConfig() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ConfigurationBeanVisitor visitor) |
LuceneCacheLoaderConfig |
autoChunkSize(int autoChunkSize)
When segment files are larger than this amount of bytes, the segment will be splitted in multiple chunks
if this size.
|
CacheLoaderConfig |
clone() |
String |
getCacheLoaderClassName() |
ClassLoader |
getClassLoader()
Get the classloader that should be used to load resources from the classpath
|
LuceneCacheLoaderConfig |
location(String location)
Path to the root directory containing all indexes.
|
void |
setCacheLoaderClassName(String s) |
public static final String LOCATION_OPTION
public static final String AUTO_CHUNK_SIZE_OPTION
protected int autoChunkSize
protected String location
public LuceneCacheLoaderConfig location(String location)
InfinispanDirectory
constructor.location
- path to the root directory of all indexespublic LuceneCacheLoaderConfig autoChunkSize(int autoChunkSize)
autoChunkSize
- public void accept(ConfigurationBeanVisitor visitor)
accept
in interface CacheLoaderConfig
public String getCacheLoaderClassName()
getCacheLoaderClassName
in interface CacheLoaderConfig
public void setCacheLoaderClassName(String s)
setCacheLoaderClassName
in interface CacheLoaderConfig
public ClassLoader getClassLoader()
CacheLoaderConfig
getClassLoader
in interface CacheLoaderConfig
public CacheLoaderConfig clone()
clone
in interface CacheLoaderConfig
clone
in class Object
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.