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

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved