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.pastry.direct
Class DirectTimeSource

    java.lang.Object
      rice.pastry.direct.DirectTimeSource

All Implemented Interfaces:
  TimeSource

public class DirectTimeSource
extends java.lang.Object
implements TimeSource

DESCRIBE THE CLASS

Version:
  $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
  jeffh

Constructor Summary
`DirectTimeSource(long time)` Constructor for DirectTimeSource.

Method Summary
`long` | `currentTimeMillis()` DESCRIBE THE METHOD
`void` | `incrementTime(int millis)` DESCRIBE THE METHOD
`void` | `setTime(long newTime)` Sets the Time attribute of the DirectTimeSource object

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DirectTimeSource

    public DirectTimeSource(long time)

  Constructor for DirectTimeSource.

Parameters:
  `time` - DESCRIBE THE PARAMETER

Method Detail

### setTime

    public void setTime(long newTime)

  Sets the Time attribute of the DirectTimeSource object

  Parameters:
    `newTime` - The new Time value

### currentTimeMillis

    public long currentTimeMillis()

  DESCRIBE THE METHOD

  Specified by:
    `currentTimeMillis` in interface `TimeSource`
  Returns:
    DESCRIBE THE RETURN VALUE

### incrementTime

    public void incrementTime(int millis)

  DESCRIBE THE METHOD

  Parameters:
    `millis` - DESCRIBE THE PARAMETER

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.