Package com.atlassian.jira.index
Class SimpleIndexingStrategy
java.lang.Object
com.atlassian.jira.index.SimpleIndexingStrategy
- All Implemented Interfaces:
IndexingStrategy,Closeable,Function<Supplier<Index.Result>,,Index.Result> Closeable,AutoCloseable,Function<Supplier<Index.Result>,Index.Result>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Supplier<Index.Result> input) Resolves an outputwhere an input is given. voidclose()Closes this stream and releases any system resources associated with it.
-
Constructor Details
-
SimpleIndexingStrategy
public SimpleIndexingStrategy()
-
-
Method Details
-
apply
Description copied from interface:FunctionResolves an outputwhere an input is given. - Specified by:
applyin interfaceFunction<Supplier<Index.Result>,Index.Result> - Specified by:
applyin interfaceFunction<Supplier<Index.Result>,Index.Result> - Parameters:
input- an object of type D.- Returns:
- the output of type R.
-
close
public void close()Description copied from interface:CloseableCloses this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.
-