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

public Interface LowLevelProcessor<A, V>

Known Direct Implementers
org.eclipse.persistence.internal.cache.Memoizer

Able to process computable tasks. Use org.eclipse.persistence.internal.cache.Processor for higher-level processors that do not propagate InterruptedException.

Method Summary

Modifier and TypeMethod and Description
public V
compute(ComputableTask<A, V> c, A
argument for computation
taskArg
)

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

Method Detail

computeback to summary
public V compute(ComputableTask<A, V> c, A taskArg) throws InterruptedException

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

Parameters
taskArg:A

argument for computation

Exceptions
InterruptedException:
if the current thread was interrupted while waiting