org.globus.ftp
Class PerfMarker
java.lang.Object
org.globus.ftp.PerfMarker
- All Implemented Interfaces:
- Marker
public class PerfMarker
- extends java.lang.Object
- implements Marker
Represents GridFTP performance marker.
Use getter methods to access its parameters.
Constructor Summary |
PerfMarker(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nl
protected final java.lang.String nl
UNDEFINED
protected static final int UNDEFINED
- See Also:
- Constant Field Values
hasTimeStamp
protected boolean hasTimeStamp
timeStamp
protected double timeStamp
hasStripeIndex
protected boolean hasStripeIndex
stripeIndex
protected long stripeIndex
hasStripeBytesTransferred
protected boolean hasStripeBytesTransferred
stripeBytesTransferred
protected long stripeBytesTransferred
hasTotalStripeCount
protected boolean hasTotalStripeCount
totalStripeCount
protected long totalStripeCount
PerfMarker
public PerfMarker(java.lang.String msg)
throws java.lang.IllegalArgumentException
- Parameters:
msg
- an FTP reply message containing the perf marker (not the reply itself!)
- Throws:
java.lang.IllegalArgumentException
hasStripeIndex
public boolean hasStripeIndex()
hasStripeBytesTransferred
public boolean hasStripeBytesTransferred()
hasTotalStripeCount
public boolean hasTotalStripeCount()
getTimeStamp
public double getTimeStamp()
getStripeIndex
public long getStripeIndex()
throws PerfMarkerException
- Throws:
PerfMarkerException
getStripeBytesTransferred
public long getStripeBytesTransferred()
throws PerfMarkerException
- Throws:
PerfMarkerException
getTotalStripeCount
public long getTotalStripeCount()
throws PerfMarkerException
- Throws:
PerfMarkerException