A C D E F G H I L M N O P R S T 

A

addListener(ImagingTaskProcessorListener) - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
addSample(String, long) - Method in class org.imajine.image.processor.Statistics
Adds a new sample to these statistics.
addSample(long) - Method in class org.imajine.image.processor.Statistics.Item
Adds a new sample to this item.
addStatisticsSample(String, long) - Method in class org.imajine.image.processor.ImagingTask
 

C

cancellPendingTasks(Class<T>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Cancels all the pending tasks of the given type.
changeFreeWorkerCount(int) - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
compareTo(Statistics.Item) - Method in class org.imajine.image.processor.Statistics.Item
 

D

dispose() - Method in class org.imajine.image.processor.ImagingTask
Subclasses should release all the allocated resources when this method is called.
dump() - Method in class org.imajine.image.processor.Statistics
 
dump(PrintWriter) - Method in class org.imajine.image.processor.Statistics
 

E

equals(Object) - Method in class org.imajine.image.processor.ImagingTask
See the comment about uniqueId.
execute() - Method in class org.imajine.image.processor.ImagingTask
Executes the task.
execute(EditableImage, T, String) - Method in class org.imajine.image.processor.ImagingTask
Executes an operation adding the elapsed time to the statistics.
execute2(EditableImage, Operation, String) - Method in class org.imajine.image.processor.ImagingTask
Executes an operation adding the elapsed time to the statistics.
execute2AndDispose(EditableImage, Operation, String) - Method in class org.imajine.image.processor.ImagingTask
The same as execute2(), but the operand image is disposed before returning.
executeAndDispose(EditableImage, T, String) - Method in class org.imajine.image.processor.ImagingTask
The same as execute(), but the operand image is disposed before returning.

F

freeWorkers - Variable in class org.imajine.image.processor.ImagingTaskProcessor
The current number of free workers.

G

getAccumulator() - Method in class org.imajine.image.processor.Statistics.Item
 
getAverage() - Method in class org.imajine.image.processor.Statistics.Item
Returns the average value.
getCompletedTaskCount(Class<? extends ImagingTask>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Returns the number of completed tasks of the given class.
getId() - Method in class org.imajine.image.processor.ImagingTask
Returns the unique id of this task.
getInstance() - Static method in class org.imajine.image.processor.ImagingTaskProcessor
Gets the singleton instance of the processor.
getMaximum() - Method in class org.imajine.image.processor.Statistics.Item
Returns the maximum value.
getMaxWorkers() - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
getMinimum() - Method in class org.imajine.image.processor.Statistics.Item
Returns the minimum value.
getName() - Method in class org.imajine.image.processor.ImagingTask
Returns the name of this task.
getName() - Method in class org.imajine.image.processor.Statistics.Item
Returns the sample name.
getNextTask(Serializable, boolean) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Returns the next pending task to execute.
getPendingTaskCount(Class<? extends ImagingTask>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Returns the number of pending tasks of the given class.
getResult() - Method in class org.imajine.image.processor.ImagingTask
Returns the result of this task.
getRunningTaskCount(Class<? extends ImagingTask>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Returns the number of running tasks of the given class.
getSampleCount() - Method in class org.imajine.image.processor.Statistics.Item
 
getStatistics() - Method in class org.imajine.image.processor.ImagingTask
Returns the statistics collected by this task.
getStatistics() - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
getTask() - Method in class org.imajine.image.processor.event.ImagingTaskProcessorEvent
 
getThrowable() - Method in class org.imajine.image.processor.ImagingTask
If the task ended with an error, a Throwable is returned by this method.
getWorkerCount() - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
getWorkerCount() - Method in class org.imajine.image.processor.LocalImagingTaskProcessor
 
getWorkerId() - Method in class org.imajine.image.processor.event.ImagingTaskProcessorEvent
 
getWorkerIds() - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
getWorkerIds() - Method in class org.imajine.image.processor.LocalImagingTaskProcessor
 

H

hasFileAccess() - Method in class org.imajine.image.processor.ImagingTaskProcessor
Returns true if the tasks will be executed in a distributed context with the support of a distributed file system - that is, if each task is guaranteed to have a File access to the same set of data.
hasFileAccess() - Method in class org.imajine.image.processor.LocalImagingTaskProcessor
 
hashCode() - Method in class org.imajine.image.processor.ImagingTask
See the comment about uniqueId.

I

ImagingTask - Class in org.imajine.image.processor
Encapsulates an unit of image processing.
ImagingTask() - Constructor for class org.imajine.image.processor.ImagingTask
For serialization.
ImagingTask(String, int) - Constructor for class org.imajine.image.processor.ImagingTask
Creates a new instance of ImagingTask.
ImagingTaskProcessor - Class in org.imajine.image.processor
 
ImagingTaskProcessor() - Constructor for class org.imajine.image.processor.ImagingTaskProcessor
 
ImagingTaskProcessorAdapter - Class in org.imajine.image.processor.event
This class allows to implement multi-phase policies with the ImagingTaskProcessor.
ImagingTaskProcessorAdapter() - Constructor for class org.imajine.image.processor.event.ImagingTaskProcessorAdapter
 
ImagingTaskProcessorEvent - Class in org.imajine.image.processor.event
 
ImagingTaskProcessorEvent(ImagingTaskProcessor, Serializable, ImagingTask) - Constructor for class org.imajine.image.processor.event.ImagingTaskProcessorEvent
 
ImagingTaskProcessorListener - Interface in org.imajine.image.processor.event
This class allows to implement multi-phase policies with the ImagingTaskProcessor.
isDistributed() - Method in class org.imajine.image.processor.ImagingTaskProcessor
Returns true if the tasks will be executed in a distributed context (i.e.
isDistributed() - Method in class org.imajine.image.processor.LocalImagingTaskProcessor
 
isRemoteExecutionOk() - Method in class org.imajine.image.processor.ImagingTask
If this method return true (the default), this task can be executed remotely.
iterator() - Method in class org.imajine.image.processor.Statistics
 

L

latestExecutionTime - Variable in class org.imajine.image.processor.ImagingTask
 
LocalImagingTaskProcessor - Class in org.imajine.image.processor
 
LocalImagingTaskProcessor() - Constructor for class org.imajine.image.processor.LocalImagingTaskProcessor
 
LocalImagingTaskProcessor.PoolThread - Class in org.imajine.image.processor
 
LocalImagingTaskProcessor.PoolThread(String) - Constructor for class org.imajine.image.processor.LocalImagingTaskProcessor.PoolThread
 
lock - Variable in class org.imajine.image.processor.ImagingTaskProcessor
A lock used to manipulate the inner state.

M

maxWorkers - Static variable in class org.imajine.image.processor.ImagingTaskProcessor
The max number of workers.
merge(Statistics.Item) - Method in class org.imajine.image.processor.Statistics.Item
Merges this item with another.
merge(Statistics) - Method in class org.imajine.image.processor.Statistics
Merges these statistics with others.

N

notifyTaskCompleted(ImagingTaskProcessorEvent) - Method in class org.imajine.image.processor.event.ImagingTaskProcessorAdapter
 
notifyTaskCompleted(ImagingTaskProcessorEvent) - Method in interface org.imajine.image.processor.event.ImagingTaskProcessorListener
Receives notification that a task has been completed.
notifyTaskCompleted(ImagingTask) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Notifies that a task has been completed.
notifyTaskPopped(ImagingTaskProcessorEvent) - Method in class org.imajine.image.processor.event.ImagingTaskProcessorAdapter
 
notifyTaskPopped(ImagingTaskProcessorEvent) - Method in interface org.imajine.image.processor.event.ImagingTaskProcessorListener
 
notifyTaskPosted(ImagingTaskProcessorEvent) - Method in class org.imajine.image.processor.event.ImagingTaskProcessorAdapter
 
notifyTaskPosted(ImagingTaskProcessorEvent) - Method in interface org.imajine.image.processor.event.ImagingTaskProcessorListener
 
notifyTaskStarted(ImagingTaskProcessorEvent) - Method in class org.imajine.image.processor.event.ImagingTaskProcessorAdapter
 
notifyTaskStarted(ImagingTaskProcessorEvent) - Method in interface org.imajine.image.processor.event.ImagingTaskProcessorListener
 

O

org.imajine.image.processor - package org.imajine.image.processor
 
org.imajine.image.processor.event - package org.imajine.image.processor.event
 

P

popCompletedTask(Class<T>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Pops a completed task out of the list.
post(Collection<? extends ImagingTask>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Posts a new task into the queue.
post(ImagingTask) - Method in class org.imajine.image.processor.ImagingTaskProcessor
Posts a new task into the queue.
postWithPriority(Collection<? extends ImagingTask>) - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
postWithPriority(ImagingTask) - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
prepare(ImagingTaskProcessor) - Method in class org.imajine.image.processor.ImagingTask
This method is performed in a local context before the task is scheduled to run - that is, this method is performed in a serialized fashion, possibly on a single computing node (depending on the processing engine).
processingResourcesAvailable() - Method in class org.imajine.image.processor.ImagingTaskProcessor
 

R

registerTime(String, EditableImage) - Method in class org.imajine.image.processor.ImagingTask
Updates statistics about execution time, about the latest performed operation on the given image.
removeListener(ImagingTaskProcessorListener) - Method in class org.imajine.image.processor.ImagingTaskProcessor
 
run() - Method in class org.imajine.image.processor.ImagingTask
Concrete implementations should provide the task core in this method.
run() - Method in class org.imajine.image.processor.LocalImagingTaskProcessor.PoolThread
 

S

setDefault(Class<? extends ImagingTaskProcessor>) - Static method in class org.imajine.image.processor.ImagingTaskProcessor
Sets the default implementation of the ImagingTaskProcessor
setMaxWorkers(int) - Static method in class org.imajine.image.processor.ImagingTaskProcessor
Sets a limit to the number of concurrent workers.
setResult(EditableImage) - Method in class org.imajine.image.processor.ImagingTask
 
setThrowable(Throwable) - Method in class org.imajine.image.processor.ImagingTask
 
Statistics - Class in org.imajine.image.processor
This class represents a set of statistics, that can be updated incrementally sample by sample.
Statistics() - Constructor for class org.imajine.image.processor.Statistics
 
Statistics.Item - Class in org.imajine.image.processor
This class represents a single statistics item with name, min/max/avg value.
Statistics.Item(String) - Constructor for class org.imajine.image.processor.Statistics.Item
Create a new sample.

T

toString() - Method in class org.imajine.image.processor.ImagingTask
 
toString() - Method in class org.imajine.image.processor.Statistics.Item
 
A C D E F G H I L M N O P R S T 

Copyright © 2003–2014 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.