ostore.apps.traces
Class TraceObject

java.lang.Object
  |
  +--ostore.apps.traces.TraceObject

public class TraceObject
extends Object

A test client that submits read requests using traces built by SURGE

Version:
$Id: TraceObject.java,v 1.4 2002/08/02 19:52:42 geels Exp $
Author:
Hakim Weatherspoon

Constructor Summary
TraceObject(int operation, String name, long offset, long length, byte[] data, long requestDelay, long offTime)
           
 
Method Summary
 byte[] getData()
          Returns a human-readable representation of this ReplicaReq.
 long getLength()
          Returns a human-readable representation of this ReplicaReq.
 String getName()
          Returns a human-readable representation of this ReplicaReq.
 long getOffset()
          Returns a human-readable representation of this ReplicaReq.
 long getOffTime()
          Returns a human-readable representation of this ReplicaReq.
 int getOperation()
          Returns a human-readable representation of this ReplicaReq.
 long getRequestDelay()
          Returns a human-readable representation of this ReplicaReq.
 String toString()
          Returns a human-readable representation of this ReplicaReq.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraceObject

public TraceObject(int operation,
                   String name,
                   long offset,
                   long length,
                   byte[] data,
                   long requestDelay,
                   long offTime)
Method Detail

getOperation

public int getOperation()
Returns a human-readable representation of this ReplicaReq.


getName

public String getName()
Returns a human-readable representation of this ReplicaReq.


getOffset

public long getOffset()
Returns a human-readable representation of this ReplicaReq.


getLength

public long getLength()
Returns a human-readable representation of this ReplicaReq.


getData

public byte[] getData()
Returns a human-readable representation of this ReplicaReq.


getRequestDelay

public long getRequestDelay()
Returns a human-readable representation of this ReplicaReq.


getOffTime

public long getOffTime()
Returns a human-readable representation of this ReplicaReq.


toString

public String toString()
Returns a human-readable representation of this ReplicaReq.

Overrides:
toString in class Object