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.past.gc
Class GCPastMetadata

    java.lang.Object
      rice.p2p.past.gc.GCPastMetadata

All Implemented Interfaces:
  java.lang.Comparable, java.io.Serializable

public class GCPastMetadata
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

Version:
  $Id: GCPastMetadata.java,v 1.5 2005/03/11 00:58:13 jeffh Exp $
Author:
  Peter Druschel
See Also:
  Serialized Form

Field Summary
`protected long` | `expiration` DESCRIBE THE FIELD

Constructor Summary
`GCPastMetadata(long expiration)` Constructor.

Method Summary
`int` | `compareTo(java.lang.Object other)` Comparable, returns -1 if less, 0 if equal, and 1 if greater
`boolean` | `equals(java.lang.Object o)` DESCRIBE THE METHOD
`long` | `getExpiration()` Method which returns the expiration time
`int` | `hashCode()` DESCRIBE THE METHOD
`GCPastMetadata` | `setExpiration(long expiration)` Method which sets the expiration time
`java.lang.String` | `toString()` DESCRIBE THE METHOD

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

Field Detail

### expiration

    protected long expiration

  DESCRIBE THE FIELD

Constructor Detail

### GCPastMetadata

    public GCPastMetadata(long expiration)

  Constructor.

Parameters:
  `expiration` - DESCRIBE THE PARAMETER

Method Detail

### getExpiration

    public long getExpiration()

  Method which returns the expiration time

  Returns:
    The contained expiration time

### setExpiration

    public GCPastMetadata setExpiration(long expiration)

  Method which sets the expiration time

  Parameters:
    `expiration` - The new Expiration value
  Returns:
    DESCRIBE THE RETURN VALUE

### equals

    public boolean equals(java.lang.Object o)

  DESCRIBE THE METHOD

  Parameters:
    `o` - DESCRIBE THE PARAMETER
  Returns:
    DESCRIBE THE RETURN VALUE

### hashCode

    public int hashCode()

  DESCRIBE THE METHOD

  Returns:
    DESCRIBE THE RETURN VALUE

### compareTo

    public int compareTo(java.lang.Object other)

  Comparable, returns -1 if less, 0 if equal, and 1 if greater

  Specified by:
    `compareTo` in interface `java.lang.Comparable`
  Parameters:
    `other` - The object ot compare to
  Returns:
    the comparison

### toString

    public java.lang.String toString()

  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.