Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jini.thread
Interface TaskManager.Task

All Superinterfaces:
  Runnable

All Known Implementing Classes:
  RetryTask

Enclosing interface:
  TaskManager

public static interface TaskManager.Task
extends Runnable

The interface that tasks must implement

Method Summary
`boolean` | `runAfter(List tasks, int size)` Return true if this task must be run after at least one task in the given task list with an index less than size (size may be less then tasks.size()).

Methods inherited from interface java.lang.Runnable
`run`

Method Detail

### runAfter

    public boolean runAfter(List tasks,
                            int size)

  Return true if this task must be run after at least one task in the given task list with an index less than size (size may be less then tasks.size()). Using List.get will be more efficient than List.iterator.

  Parameters:
    `tasks` - the tasks to consider. A read-only List, with all elements instanceof Task.
    `size` - elements with index less than size should be considered

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved