ostore.client
Class OSVPLatest
java.lang.Object
|
+--ostore.client.OSVersionPredicate
|
+--ostore.client.OSVPLatest
- All Implemented Interfaces:
- QuickSerializable
- public class OSVPLatest
- extends OSVersionPredicate
The OSVPLatest
object is a version predicate for use
in OSRead
s that is satisfied by the most
recent version known by node in OceanStore. Note, this version
predicate provides very loose guarantees on the object returned.
- Version:
- $Id: OSVPLatest.java,v 1.14 2002/07/20 19:38:01 srhea Exp $
- Author:
- Patrick R. Eaton
now
public QSDate now
OSVPLatest
public OSVPLatest()
- Creates a new
OSVPLatest
version predicate.
OSVPLatest
public OSVPLatest(Date date)
OSVPLatest
public OSVPLatest(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class OSVersionPredicate
- Parameters:
buffer
- the output buffer to add the object to
toString
public String toString()
- Description copied from class:
OSVersionPredicate
- Returns a String representation of this
OSVersionPredicate
.
- Specified by:
toString
in class OSVersionPredicate
- Returns:
- a String represenation of this
OSVersionPredicate
compile
public VersionPredicate compile()
- Overrides:
compile
in class OSVersionPredicate