org.compass.core.lucene
Class LuceneEnvironment.Transaction

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

public abstract static class LuceneEnvironment.Transaction
extends Object


Nested Class Summary
static class LuceneEnvironment.Transaction.ReadCommittedTransLog
          Transaction log settings
 
Field Summary
static String CLEAR_CACHE_ON_COMMIT
          Should the cache be cleared on commit.
static String LOCK_POLL_INTERVAL
          The interval that the transaction will check to see if it can obtain the lock (in milliseconds).
static String LOCK_TIMEOUT
          The amount of time a transaction will wait in order to obtain it's specific lock (in seconds).
 
Constructor Summary
LuceneEnvironment.Transaction()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCK_TIMEOUT

public static final String LOCK_TIMEOUT
The amount of time a transaction will wait in order to obtain it's specific lock (in seconds). Defaults to 10 seconds.

See Also:
Constant Field Values

LOCK_POLL_INTERVAL

public static final String LOCK_POLL_INTERVAL
The interval that the transaction will check to see if it can obtain the lock (in milliseconds).

The default value is 100 milliseconds

See Also:
Constant Field Values

CLEAR_CACHE_ON_COMMIT

public static final String CLEAR_CACHE_ON_COMMIT
Should the cache be cleared on commit. Note, that setting it to false might mean that the transaction isolation level will not function properly (for example, with read_committed, it will mean that data that is committed will take time to be reflected in the index). Defaults to true.

See Also:
Constant Field Values
Constructor Detail

LuceneEnvironment.Transaction

public LuceneEnvironment.Transaction()


Copyright (c) 2004-2008 The Compass Project.