Package | Description |
---|---|
messif.algorithms |
Search algorithms base classes.
|
messif.algorithms.impl |
Implementation of basic search algorithms.
|
messif.buckets.impl |
Bucket implementations.
|
messif.utility |
Various utilities that does not fit anywhere else including
a main class for executing batch files.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Algorithm.execute(boolean statisticsOn,
java.lang.Object... params)
Execute operation with additional parameters.
|
static <O extends AbstractOperation> |
NavigationProcessors.execute(java.util.concurrent.ExecutorService executor,
NavigationProcessor<O> processor)
Executes a given
NavigationProcessor either asynchronously using ExecutorService
if the processor implements AsynchronousNavigationProcessor or sequentially. |
static <O extends AbstractOperation> |
NavigationProcessors.executeAsync(java.util.concurrent.ExecutorService executor,
AsynchronousNavigationProcessor<? extends O> processor)
Executes a given
AsynchronousNavigationProcessor using ExecutorService . |
<T extends AbstractOperation> |
Algorithm.executeOperation(T operation)
Execute operation on this algorithm.
|
<T extends AbstractOperation> |
DistributedAlgorithm.executeOperation(T operation)
Execute operation on this algorithm.
|
<T extends AbstractOperation> |
RMIAlgorithm.executeOperation(T operation) |
<T extends AbstractOperation> |
RMIAlgorithmOriginal.executeOperation(T operation)
Deprecated.
|
boolean |
Algorithm.executeUsingNavDir(java.lang.Object navigationDirectory,
java.lang.Object operation,
boolean statisticsOn)
Executes a given
operation by the processor provided by NavigationDirectory . |
int |
Algorithm.getObjectCount()
Returns the number of objects currently stored in the algorithm.
|
<T> java.util.Iterator<? extends T> |
Algorithm.getQueryAnswer(java.lang.Class<? extends QueryOperation<? extends T>> operationClass,
java.lang.Object... arguments)
Execute query operation on this algorithm and return the answer.
|
<T> java.util.Iterator<? extends T> |
Algorithm.getQueryAnswer(QueryOperation<? extends T> operation)
Execute query operation on this algorithm and return the answer.
|
boolean |
NavigationProcessor.processStep()
Processes the encapsulated operation by the next processing step.
|
boolean |
NavigationProcessorWrapper.processStep() |
protected void |
DistributedAlgorithm.receiveRequest(DistAlgRequestMessage msg)
Execute algorithm operation from received message.
|
<T extends AbstractOperation> |
Algorithm.setupStatsAndExecuteOperation(T operation,
java.lang.String operationStatsRegexp)
Reset
operation statistics ,
bind the operation statistics according to the given regular expression,
and execute operation on this algorithm. |
<T extends AbstractOperation> |
RMIAlgorithm.setupStatsAndExecuteOperation(T operation,
java.lang.String operationStatsRegexp) |
<T extends AbstractOperation> |
RMIAlgorithmOriginal.setupStatsAndExecuteOperation(T operation,
java.lang.String operationStatsRegexp)
Deprecated.
|
static <T extends AbstractOperation> |
Algorithm.waitBackgroundExecution(java.util.concurrent.Future<? extends T> future)
Helper method for waiting for an operation executed on background.
|
Modifier and Type | Method and Description |
---|---|
void |
LocatorStorageAlgorithm.bulkInsertOperation(BulkInsertOperation op)
Implementation of the bulk-insert operation.
|
void |
LocatorStorageAlgorithm.deleteByLocatorOperation(DeleteByLocatorOperation op)
Implementation of the delete-by-locator operation.
|
void |
LocatorStorageAlgorithm.deleteOperation(DeleteOperation op)
Implementation of the delete operation.
|
void |
LocatorStorageAlgorithm.insertOperation(InsertOperation op)
Implementation of the insert operation.
|
protected O |
BucketQueryOperationNavigationProcessor.processItem(O operation,
Bucket processingItem) |
protected abstract O |
AbstractNavigationProcessor.processItem(O operation,
T processingItem)
Processes the encapsulated operation using the given processing item.
|
void |
MultiQueryWrapperAlgorithm.processMultiObjectOperation(RankingMultiQueryOperation op)
Implementation of multi-object query operation.
|
void |
LocatorStorageAlgorithm.processOperation(AbstractOperation op)
Implementation of a generic operation.
|
void |
MultiQueryWrapperAlgorithm.processOperation(AbstractOperation op)
Implementation of a generic operation.
|
boolean |
AbstractNavigationProcessor.processStep() |
Constructor and Description |
---|
AlgorithmStorageBucket(Algorithm algorithm,
long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes)
Creates a new instance of AlgorithmStorageBucket and setups all bucket limits.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CoreApplication.operationExecute(java.io.PrintStream out,
java.lang.String... args)
Executes a specified operation on current algorithm.
|
boolean |
CoreApplication.operationExecuteAgain(java.io.PrintStream out,
java.lang.String... args)
Executes the last operation once more.
|