commonj.work
Interface WorkManager
public interface WorkManager
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 05:56:06 -0400 (Tue, 14 Sep 2004) $
IMMEDIATE
static final long IMMEDIATE
- See Also:
- Constant Field Values
INDEFINITE
static final long INDEFINITE
- See Also:
- Constant Field Values
schedule
WorkItem schedule(Work work)
throws WorkException,
IllegalArgumentException
- Throws:
WorkException
IllegalArgumentException
schedule
WorkItem schedule(Work work,
WorkListener listener)
throws WorkException,
IllegalArgumentException
- Throws:
WorkException
IllegalArgumentException
waitForAll
boolean waitForAll(Collection workItems,
long timeout)
throws InterruptedException,
IllegalArgumentException
- Throws:
InterruptedException
IllegalArgumentException
waitForAny
Collection waitForAny(Collection workItems,
long timeout)
throws InterruptedException,
IllegalArgumentException
- Throws:
InterruptedException
IllegalArgumentException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.