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

## rice.p2p.commonapi
Interface CancellableTask

All Known Implementing Classes:
  TimerTask

public interface CancellableTask

This class represents a task which can be cancelled by the caller.

Version:
  $Id: pretty.settings,v 1.3 2005/03/11 20:22:33 jeffh Exp $
Author:
  Alan Mislove, Jeff Hoye

Method Summary
`boolean` | `cancel()` DESCRIBE THE METHOD
`void` | `run()` Main processing method for the CancellableTask object
`long` | `scheduledExecutionTime()` DESCRIBE THE METHOD

Method Detail

### run

    public void run()

  Main processing method for the CancellableTask object

### cancel

    public boolean cancel()

  DESCRIBE THE METHOD

  Returns:
    DESCRIBE THE RETURN VALUE

### scheduledExecutionTime

    public long scheduledExecutionTime()

  DESCRIBE THE METHOD

  Returns:
    DESCRIBE THE RETURN VALUE

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

Copyright © 2001-2005 - Rice Pastry.