com.sun.sgs.app
Interface Task


public interface Task

Defines an application operation that will be run by the TaskManager. Classes that implement Task must also implement Serializable.

See Also:
TaskManager

Method Summary
 void run()
          Performs an action, throwing an exception if the action fails.
 

Method Detail

run

void run()
         throws Exception
Performs an action, throwing an exception if the action fails.

Throws:
Exception - if the action fails

Project Darkstar, Version 0.9.9.6
2009-05-08 15:39:40

Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved