org.compass.core.lucene
Class LuceneEnvironment.Transaction.TransLog

java.lang.Object
  extended by org.compass.core.lucene.LuceneEnvironment.Transaction.TransLog
Enclosing class:
LuceneEnvironment.Transaction

public static final class LuceneEnvironment.Transaction.TransLog
extends Object

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

TYPE

public static final String TYPE
The fully qualified type of the TransLog implementation.

See Also:
Constant Field Values

PATH

public static final String PATH
Applies to tran logs that require a location like FSTransLog.

See Also:
Constant Field Values

WRITE_BUFFER_SIZE

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.

See Also:
Constant Field Values

READ_BUFFER_SIZE

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.

See Also:
Constant Field Values
Constructor Detail

LuceneEnvironment.Transaction.TransLog

public LuceneEnvironment.Transaction.TransLog()


Copyright (c) 2004-2006 The Compass Project.