|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.index.MultiThreadedIndexingStrategy
public class MultiThreadedIndexingStrategy
Wraps another IndexingStrategy
with an Executor
.
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.util.Closeable |
---|
CLOSE |
Constructor Summary | |
---|---|
MultiThreadedIndexingStrategy(IndexingStrategy strategy,
MultiThreadedIndexingConfiguration config,
java.lang.String threadPrefix)
|
Method Summary | |
---|---|
void |
close()
Closes this stream and releases any system resources associated with it. |
Index.Result |
get(Supplier<Index.Result> input)
Resolves an output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiThreadedIndexingStrategy(@NotNull IndexingStrategy strategy, MultiThreadedIndexingConfiguration config, java.lang.String threadPrefix)
Method Detail |
---|
public Index.Result get(Supplier<Index.Result> input)
Function
get
in interface com.atlassian.util.concurrent.Function<Supplier<Index.Result>,Index.Result>
input
- an object of type D.
public void close()
Closeable
close
in interface java.io.Closeable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |