com.atlassian.jira.index
Class SimpleIndexingStrategy

java.lang.Object
  extended by com.atlassian.jira.index.SimpleIndexingStrategy
All Implemented Interfaces:
IndexingStrategy, com.atlassian.util.concurrent.Function<Supplier<Index.Result>,Index.Result>, Closeable

public class SimpleIndexingStrategy
extends Object
implements IndexingStrategy


Field Summary
 
Fields inherited from interface com.atlassian.jira.util.Closeable
CLOSE
 
Constructor Summary
SimpleIndexingStrategy()
           
 
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 where an input is given.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleIndexingStrategy

public SimpleIndexingStrategy()
Method Detail

get

public Index.Result get(Supplier<Index.Result> input)
Description copied from interface: Function
Resolves an output where an input is given.

Specified by:
get in interface com.atlassian.util.concurrent.Function<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: Closeable
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.

Specified by:
close in interface Closeable


Copyright © 2002-2012 Atlassian. All Rights Reserved.