public class MultiThreadedIndexingStrategy extends Object implements IndexingStrategy
IndexingStrategy
with an Executor
.Constructor and Description |
---|
MultiThreadedIndexingStrategy(IndexingStrategy strategy,
MultiThreadedIndexingConfiguration config,
String threadPrefix) |
Modifier and Type | Method and Description |
---|---|
Index.Result |
apply(Supplier<Index.Result> input)
Resolves an output
|
void |
close()
Closes this stream and releases any system resources associated with it.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, compose, identity
public MultiThreadedIndexingStrategy(@Nonnull IndexingStrategy strategy, MultiThreadedIndexingConfiguration config, String threadPrefix)
public Index.Result apply(Supplier<Index.Result> input)
Function
apply
in interface java.util.function.Function<Supplier<Index.Result>,Index.Result>
input
- an object of type D.public void close()
Closeable
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2002-2024 Atlassian. All Rights Reserved.