|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.lucene.cachestore.LuceneCacheLoaderConfig
public final class LuceneCacheLoaderConfig
Configuration for a LuceneCacheLoader
.
Field Summary | |
---|---|
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 Summary | |
---|---|
LuceneCacheLoaderConfig()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LOCATION_OPTION
public static final String AUTO_CHUNK_SIZE_OPTION
protected int autoChunkSize
protected String location
Constructor Detail |
---|
public LuceneCacheLoaderConfig()
Method Detail |
---|
public LuceneCacheLoaderConfig location(String location)
InfinispanDirectory
constructor.
location
- path to the root directory of all indexes
public 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
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |