public class

MultiThreadedIndexingStrategy

extends Object
implements IndexingStrategy
java.lang.Object
   ↳ com.atlassian.jira.index.MultiThreadedIndexingStrategy

Class Overview

Wraps another IndexingStrategy with an Executor.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.util.Closeable
Public Constructors
MultiThreadedIndexingStrategy(IndexingStrategy strategy, MultiThreadedIndexingConfiguration config, String threadPrefix)
Public Methods
void close()
Closes this stream and releases any system resources associated with it.
Index.Result get(Supplier<Index.Result> input)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.Closeable
From interface com.atlassian.jira.util.Function
From interface com.atlassian.util.concurrent.Function
From interface java.io.Closeable

Public Constructors

public MultiThreadedIndexingStrategy (IndexingStrategy strategy, MultiThreadedIndexingConfiguration config, String threadPrefix)

Public Methods

public void close ()

Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.

public Index.Result get (Supplier<Index.Result> input)