Top Description Methods
javax.resource.spi.work

public Interface Work

extends Runnable
Known Direct Subinterfaces
javax.resource.spi.work.DistributableWork
Imports
java.lang.Object, .Runnable, .Exception, .Throwable

This models a Work instance that would be executed by a WorkManager upon submission.
Author
Ram Jeyaraman
Version
1.0

Method Summary

Modifier and TypeMethod and Description
public void
release()

The WorkManager might call this method to hint the active Work instance to complete execution as soon as possible.

Inherited from java.lang.Runnable:
run

Method Detail

releaseback to summary
public void release()

The WorkManager might call this method to hint the active Work instance to complete execution as soon as possible. This would be called on a separate thread other than the one currently executing the Work instance.