public class StreamingOperationExecutorSelector extends Object implements IndexWorkVisitor<Void,StreamingOperationExecutor>
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.
Modifier and Type | Field and Description |
---|---|
static StreamingOperationExecutorSelector |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
StreamingOperationExecutor |
visitAddWork(AddLuceneWork addLuceneWork,
Void p) |
StreamingOperationExecutor |
visitDeleteByQueryWork(DeleteByQueryLuceneWork deleteByQueryLuceneWork,
Void p) |
StreamingOperationExecutor |
visitDeleteWork(DeleteLuceneWork deleteLuceneWork,
Void p) |
StreamingOperationExecutor |
visitFlushWork(FlushLuceneWork flushLuceneWork,
Void p) |
StreamingOperationExecutor |
visitOptimizeWork(OptimizeLuceneWork optimizeLuceneWork,
Void p) |
StreamingOperationExecutor |
visitPurgeAllWork(PurgeAllLuceneWork purgeAllLuceneWork,
Void p) |
StreamingOperationExecutor |
visitUpdateWork(UpdateLuceneWork updateLuceneWork,
Void p) |
public static final StreamingOperationExecutorSelector INSTANCE
public StreamingOperationExecutor visitAddWork(AddLuceneWork addLuceneWork, Void p)
visitAddWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
public StreamingOperationExecutor visitUpdateWork(UpdateLuceneWork updateLuceneWork, Void p)
visitUpdateWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
public StreamingOperationExecutor visitDeleteWork(DeleteLuceneWork deleteLuceneWork, Void p)
visitDeleteWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
public StreamingOperationExecutor visitOptimizeWork(OptimizeLuceneWork optimizeLuceneWork, Void p)
visitOptimizeWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
public StreamingOperationExecutor visitPurgeAllWork(PurgeAllLuceneWork purgeAllLuceneWork, Void p)
visitPurgeAllWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
public StreamingOperationExecutor visitFlushWork(FlushLuceneWork flushLuceneWork, Void p)
visitFlushWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
public StreamingOperationExecutor visitDeleteByQueryWork(DeleteByQueryLuceneWork deleteByQueryLuceneWork, Void p)
visitDeleteByQueryWork
in interface IndexWorkVisitor<Void,StreamingOperationExecutor>
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved