|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.resource.spi.work Interface Work
- All Superinterfaces:
- Runnable
public interface Work
- extends Runnable
Implements:
Runnable
此方法模拟
Work
实例,提交后该实例将由 WorkManager
执行。
version | 1.0 |
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 |
---|
public void
release()
WorkManager
可以调用此方法提示活动的 Work
实例尽快完成执行。将在单独的线程上,而不是在当前执行 Work
实例的线程上调用此方法。
英文文档:
release
void release()
- The
WorkManager
might call this method to hint the activeWork
instance to complete execution as soon as possible. This would be called on a seperate thread other than the one currently executing theWork
instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!