站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

Work (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.resource.spi.work
Interface Work

All Superinterfaces:
Runnable

public interface Work
extends 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

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 seperate thread other than the one currently executing the Work instance.


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.