javax.resource.spi.work
Interface Work

All Superinterfaces:
java.lang.Runnable
All Known Subinterfaces:
DistributableWork

public interface Work
extends java.lang.Runnable

This models a Work instance that would be executed by a WorkManager upon submission.

Version:
1.0
Author:
Ram Jeyaraman

Method Summary
 void release()
          The WorkManager might call this method to hint the active Work instance to complete execution as soon as possible.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

release

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.



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.