org.compass.core.lucene
Class LuceneEnvironment.Transaction.Processor.Lucene

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

public static final class LuceneEnvironment.Transaction.Processor.Lucene
extends Object

Settings for lucene transaction procssor.

See Also:
LuceneTransactionProcessorFactory, LuceneTransactionProcessor

Field Summary
static String ADD_TIMEOUT
          The time for a dirty operation to wait if the backlog is full until the dirty operation can be added.
static String BACKLOG
          The backlog size of the current ongoing dirty operations.
static String CONCURRENCY_LEVEL
          The number of threads used to process dirty operations asynchronously.
static String CONCURRENT_OPERATIONS
          Should dirty operations be perfomed asynchronously.
static String HASHING
          Controls how hashing will be done for parallel processing.
static String NAME
          The name of the lucene transaction processor.
 
Constructor Summary
LuceneEnvironment.Transaction.Processor.Lucene()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
The name of the lucene transaction processor.

See Also:
Constant Field Values

CONCURRENT_OPERATIONS

public static final String CONCURRENT_OPERATIONS
Should dirty operations be perfomed asynchronously. Defaults to true.

See Also:
Constant Field Values

CONCURRENCY_LEVEL

public static final String CONCURRENCY_LEVEL
The number of threads used to process dirty operations asynchronously. Defaults to 5.

Note, this is the number of threads used per transaction and threads are pooled.

See Also:
Constant Field Values

HASHING

public static final String HASHING
Controls how hashing will be done for parallel processing. Eitehr uid or subindex. Defuats to uid.

See Also:
Constant Field Values

BACKLOG

public static final String BACKLOG
The backlog size of the current ongoing dirty operations. If full, will block the dirty operation until it is emptied by the running async processor threads. Defaults to 100.

See Also:
Constant Field Values

ADD_TIMEOUT

public static final String ADD_TIMEOUT
The time for a dirty operation to wait if the backlog is full until the dirty operation can be added. Defaults to 10 seconds. Supports time based configuration and default value is in millis.

See Also:
Constant Field Values
Constructor Detail

LuceneEnvironment.Transaction.Processor.Lucene

public LuceneEnvironment.Transaction.Processor.Lucene()


Copyright (c) 2004-2009 The Compass Project.