SMILA (incubation) API documentation

org.eclipse.smila.search.lucene.index.access
Class SynchronizedIndexSearcherExecutor<ReturnedType>

java.lang.Object
  extended by org.eclipse.smila.search.lucene.index.access.SynchronizedAbstractExecutor<IndexSearcher,ReturnedType>
      extended by org.eclipse.smila.search.lucene.index.access.SynchronizedIndexSearcherExecutor<ReturnedType>
Type Parameters:
ReturnedType - class of returned type.

public class SynchronizedIndexSearcherExecutor<ReturnedType>
extends SynchronizedAbstractExecutor<IndexSearcher,ReturnedType>

The Class SynchronizedIndexReaderExecutor.


Constructor Summary
SynchronizedIndexSearcherExecutor(java.lang.Object monitored, java.lang.String storage)
          Instantiates a new synchronized index reader executor.
 
Method Summary
protected  void close(IndexSearcher object)
          Close.
 ReturnedType execute(ISynchronizedOperation<IndexSearcher,ReturnedType> operation)
          Execute.
 
Methods inherited from class org.eclipse.smila.search.lucene.index.access.SynchronizedAbstractExecutor
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedIndexSearcherExecutor

public SynchronizedIndexSearcherExecutor(java.lang.Object monitored,
                                         java.lang.String storage)
Instantiates a new synchronized index reader executor.

Parameters:
monitored - the monitored
storage - the storage
Method Detail

close

protected void close(IndexSearcher object)
              throws IndexException
Close.

Specified by:
close in class SynchronizedAbstractExecutor<IndexSearcher,ReturnedType>
Parameters:
object - the object
Throws:
IndexException - the index exception
See Also:
SynchronizedAbstractExecutor.close(java.lang.Object)

execute

public ReturnedType execute(ISynchronizedOperation<IndexSearcher,ReturnedType> operation)
                     throws IndexException
Execute.

Specified by:
execute in class SynchronizedAbstractExecutor<IndexSearcher,ReturnedType>
Parameters:
operation - the operation
Returns:
the returned type
Throws:
IndexException - the index exception
See Also:
#execute(org.eclipse.smila.search.lucene.index.access.ISynchronizedOperation)

SMILA (incubation) API documentation