public class SharedIndexWorkspaceImpl extends AbstractWorkspaceImpl
writerHolder| Constructor and Description |
|---|
SharedIndexWorkspaceImpl(DirectoryBasedIndexManager indexManager,
WorkerBuildContext context,
Properties cfg) |
| Modifier and Type | Method and Description |
|---|---|
CommitPolicy |
getCommitPolicy()
Get the commit policy applied to the workspace
|
IndexWriter |
getIndexWriter()
Gets the IndexWriter, opening one if needed.
|
IndexWriter |
getIndexWriter(ErrorContextBuilder errorContextBuilder) |
void |
notifyWorkApplied(LuceneWork work)
Some workspaces need this to determine for example the kind of flush operations which are safe
to apply.
|
afterTransactionApplied, areSingleTermDeletesSafe, flush, getAnalyzer, getDocumentBuilder, getEntitiesInIndexManager, getIndexName, getIndexWriterDelegate, getIndexWriterDelegate, incrementModificationCounter, isDeleteByTermEnforced, optimizerPhase, performOptimization, shutDownNowpublic SharedIndexWorkspaceImpl(DirectoryBasedIndexManager indexManager, WorkerBuildContext context, Properties cfg)
public IndexWriter getIndexWriter()
WorkspacegetIndexWriter in interface WorkspacegetIndexWriter in class AbstractWorkspaceImplpublic IndexWriter getIndexWriter(ErrorContextBuilder errorContextBuilder)
getIndexWriter in class AbstractWorkspaceImplpublic void notifyWorkApplied(LuceneWork work)
Workspacework - the LuceneWork which was just processedpublic CommitPolicy getCommitPolicy()
WorkspaceCommitPolicyCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved