Top Description Fields Constructors Methods
org.eclipse.persistence.internal.cache

public Class AdvancedProcessor

extends Object
implements Processor, Clearable
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.internal.cache.Clearable, org.eclipse.persistence.internal.cache.Processor

Processor for computable tasks. Concurrent.
Author
Marcel Valovy - [email protected]
Since
2.6

Field Summary

Modifier and TypeField and Description
private Memoizer<Object, Object>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public <A, V> V
compute(ComputableTask<A, V> task, A
argument for computation
taskArgument
)

Implements org.eclipse.persistence.internal.cache.Processor.compute.

Waits if necessary for the computation to complete, and then retrieves its result.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

memoizerback to summary
private Memoizer<Object, Object> memoizer

Constructor Detail

AdvancedProcessorback to summary
public AdvancedProcessor()

Method Detail

clearback to summary
public void clear()

Implements org.eclipse.persistence.internal.cache.Clearable.clear.

Annotations
@Override
computeback to summary
public <A, V> V compute(ComputableTask<A, V> task, A taskArgument)

Implements org.eclipse.persistence.internal.cache.Processor.compute.

Doc from org.eclipse.persistence.internal.cache.Processor.compute.

Waits if necessary for the computation to complete, and then retrieves its result.

Parameters
taskArgument:A

argument for computation

Annotations
@Override