public class TransactionalOperationExecutorSelector extends Object implements IndexWorkVisitor<Void,TransactionalOperationExecutor>
Implementation note: This IndexWorkVisitor
implementation intentionally does not perform the actual logic
within the individual visit methods themselves but rather returns a delegate class for that purpose. This is to avoid
the need for the allocation of a parameter object with the required input data, instead a method with the required
parameters is exposed on said delegate.
Constructor and Description |
---|
TransactionalOperationExecutorSelector(IndexManagerHolder indexManagerHolder) |
Modifier and Type | Method and Description |
---|---|
TransactionalOperationExecutor |
visitAddWork(AddLuceneWork addLuceneWork,
Void p) |
TransactionalOperationExecutor |
visitDeleteByQueryWork(DeleteByQueryLuceneWork deleteByQueryLuceneWork,
Void p) |
TransactionalOperationExecutor |
visitDeleteWork(DeleteLuceneWork deleteLuceneWork,
Void p) |
TransactionalOperationExecutor |
visitFlushWork(FlushLuceneWork flushLuceneWork,
Void p) |
TransactionalOperationExecutor |
visitOptimizeWork(OptimizeLuceneWork optimizeLuceneWork,
Void p) |
TransactionalOperationExecutor |
visitPurgeAllWork(PurgeAllLuceneWork purgeAllLuceneWork,
Void p) |
TransactionalOperationExecutor |
visitUpdateWork(UpdateLuceneWork updateLuceneWork,
Void p) |
public TransactionalOperationExecutorSelector(IndexManagerHolder indexManagerHolder)
public TransactionalOperationExecutor visitAddWork(AddLuceneWork addLuceneWork, Void p)
visitAddWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
public TransactionalOperationExecutor visitUpdateWork(UpdateLuceneWork updateLuceneWork, Void p)
visitUpdateWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
public TransactionalOperationExecutor visitDeleteWork(DeleteLuceneWork deleteLuceneWork, Void p)
visitDeleteWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
public TransactionalOperationExecutor visitOptimizeWork(OptimizeLuceneWork optimizeLuceneWork, Void p)
visitOptimizeWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
public TransactionalOperationExecutor visitPurgeAllWork(PurgeAllLuceneWork purgeAllLuceneWork, Void p)
visitPurgeAllWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
public TransactionalOperationExecutor visitFlushWork(FlushLuceneWork flushLuceneWork, Void p)
visitFlushWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
public TransactionalOperationExecutor visitDeleteByQueryWork(DeleteByQueryLuceneWork deleteByQueryLuceneWork, Void p)
visitDeleteByQueryWork
in interface IndexWorkVisitor<Void,TransactionalOperationExecutor>
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved