|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.LuceneEnvironment.Transaction.TransLog
public static final class LuceneEnvironment.Transaction.TransLog
Transaction log settings
| Field Summary | |
|---|---|
static String |
PATH
Applies to tran logs that require a location like FSTransLog. |
static String |
READ_BUFFER_SIZE
Applies to tran logs that require a read buffer size like FSTransLog. |
static String |
TYPE
The fully qualified type of the TransLog
implementation. |
static String |
WRITE_BUFFER_SIZE
Applies to tran logs that require a write buffer size like FSTransLog. |
| Constructor Summary | |
|---|---|
LuceneEnvironment.Transaction.TransLog()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
TransLog
implementation.
public static final String PATH
FSTransLog.
public static final String WRITE_BUFFER_SIZE
Applies to tran logs that require a write buffer size like FSTransLog.
Defaults to 2048 (size is in bytes).
The bigger the value, the faster indexing will be perfomed though in expense of memory (the write buffers are pooled, so the memory overhead will not be noitceable as is the case with read buffer.
public static final String READ_BUFFER_SIZE
Applies to tran logs that require a read buffer size like FSTransLog.
Defaults to 64 (size is in bytes).
The smaller the value, bigger transactions can be performed, though performance might suffer.
| Constructor Detail |
|---|
public LuceneEnvironment.Transaction.TransLog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||