org.mbari.siam.distributed.platform
Interface ManagedTask


public interface ManagedTask

ManagedTasks register with and are managed by a TaskManager.

Author:
Tom O'Reilly

Field Summary
static int BUSY
           
static int IDLE
           
static int UNINITIALIZED
          Task states
 
Method Summary
 boolean quiesceTask()
          Allow task to go to IDLE state?
 boolean startTask()
          Go to BUSY state?
 boolean stopTask()
           
 int taskState()
          Return task state
 

Field Detail

UNINITIALIZED

static final int UNINITIALIZED
Task states

See Also:
Constant Field Values

BUSY

static final int BUSY
See Also:
Constant Field Values

IDLE

static final int IDLE
See Also:
Constant Field Values
Method Detail

taskState

int taskState()
Return task state


startTask

boolean startTask()
Go to BUSY state?


stopTask

boolean stopTask()

quiesceTask

boolean quiesceTask()
Allow task to go to IDLE state?



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.