com.atlassian.jira.issue.index
Class ConnectionConfiguration

java.lang.Object
  extended by com.atlassian.jira.issue.index.ConnectionConfiguration
All Implemented Interfaces:
com.atlassian.bonnie.ILuceneConnection.Configuration

 class ConnectionConfiguration
extends Object
implements com.atlassian.bonnie.ILuceneConnection.Configuration

Responsible for getting our ILuceneConnection.Configuration from ApplicationProperties.


Constructor Summary
ConnectionConfiguration(ApplicationProperties properties)
           
 
Method Summary
 int getBatchMaxBufferedDocs()
           
 int getBatchMaxMergeDocs()
           
 int getBatchMergeFactor()
           
 int getInteractiveMaxBufferedDocs()
           
 int getInteractiveMaxMergeDocs()
           
 int getInteractiveMergeFactor()
           
 int getMaxFieldLength()
           
 boolean isCompoundIndexFileFormat()
          We NEVER want this false as it leads to TooManyOpenFiles exceptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionConfiguration

ConnectionConfiguration(ApplicationProperties properties)
Method Detail

getInteractiveMergeFactor

public int getInteractiveMergeFactor()
Specified by:
getInteractiveMergeFactor in interface com.atlassian.bonnie.ILuceneConnection.Configuration

getInteractiveMaxMergeDocs

public int getInteractiveMaxMergeDocs()
Specified by:
getInteractiveMaxMergeDocs in interface com.atlassian.bonnie.ILuceneConnection.Configuration

getInteractiveMaxBufferedDocs

public int getInteractiveMaxBufferedDocs()
Specified by:
getInteractiveMaxBufferedDocs in interface com.atlassian.bonnie.ILuceneConnection.Configuration

getBatchMergeFactor

public int getBatchMergeFactor()
Specified by:
getBatchMergeFactor in interface com.atlassian.bonnie.ILuceneConnection.Configuration

getBatchMaxMergeDocs

public int getBatchMaxMergeDocs()
Specified by:
getBatchMaxMergeDocs in interface com.atlassian.bonnie.ILuceneConnection.Configuration

getBatchMaxBufferedDocs

public int getBatchMaxBufferedDocs()
Specified by:
getBatchMaxBufferedDocs in interface com.atlassian.bonnie.ILuceneConnection.Configuration

getMaxFieldLength

public int getMaxFieldLength()
Specified by:
getMaxFieldLength in interface com.atlassian.bonnie.ILuceneConnection.Configuration

isCompoundIndexFileFormat

public boolean isCompoundIndexFileFormat()
We NEVER want this false as it leads to TooManyOpenFiles exceptions

Specified by:
isCompoundIndexFileFormat in interface com.atlassian.bonnie.ILuceneConnection.Configuration


Copyright © 2002-2007 Atlassian. All Rights Reserved.