|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.sharing.index.DefaultSharedEntityIndexer.DefaultEntityTypeConnectionManager
public static class DefaultSharedEntityIndexer.DefaultEntityTypeConnectionManager
Constructor Summary | |
---|---|
DefaultSharedEntityIndexer.DefaultEntityTypeConnectionManager(LuceneConnectionFactory connectionFactory,
IndexPath indexPath)
|
Method Summary | |
---|---|
String |
clear(SharedEntity.TypeDescriptor key)
Clear out the index for the specified type and return the path. |
Collection |
getAllIndexPaths()
|
org.apache.lucene.search.Searcher |
getSearcher(SharedEntity.TypeDescriptor type)
Get an Searcher for the specified type. |
void |
optimize(SharedEntity.TypeDescriptor type)
Optimize an index. |
void |
shutdown(SharedEntity.TypeDescriptor key)
Shutdown an index connection for the specified type. |
void |
write(SharedEntity.TypeDescriptor type,
com.atlassian.bonnie.ILuceneConnection.WriterAction action)
Write something to the index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSharedEntityIndexer.DefaultEntityTypeConnectionManager(LuceneConnectionFactory connectionFactory, IndexPath indexPath)
Method Detail |
---|
public org.apache.lucene.search.Searcher getSearcher(SharedEntity.TypeDescriptor type)
DefaultSharedEntityIndexer.EntityTypeConnectionManager
getSearcher
in interface DefaultSharedEntityIndexer.EntityTypeConnectionManager
type
- the SharedEntity
type
public void optimize(SharedEntity.TypeDescriptor type)
DefaultSharedEntityIndexer.EntityTypeConnectionManager
optimize
in interface DefaultSharedEntityIndexer.EntityTypeConnectionManager
type
- the index to optimize.public void write(SharedEntity.TypeDescriptor type, com.atlassian.bonnie.ILuceneConnection.WriterAction action)
DefaultSharedEntityIndexer.EntityTypeConnectionManager
write
in interface DefaultSharedEntityIndexer.EntityTypeConnectionManager
type
- the index to write toaction
- to perform the writepublic String clear(SharedEntity.TypeDescriptor key)
DefaultSharedEntityIndexer.EntityTypeConnectionManager
clear
in interface DefaultSharedEntityIndexer.EntityTypeConnectionManager
key
- the SharedEntity
type
public void shutdown(SharedEntity.TypeDescriptor key)
DefaultSharedEntityIndexer.EntityTypeConnectionManager
shutdown
in interface DefaultSharedEntityIndexer.EntityTypeConnectionManager
key
- the SharedEntity
typepublic Collection getAllIndexPaths()
getAllIndexPaths
in interface DefaultSharedEntityIndexer.EntityTypeConnectionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |