Package org.globus.ftp
Class PerfMarker
java.lang.Object
org.globus.ftp.PerfMarker
- All Implemented Interfaces:
Marker
Represents GridFTP performance marker.
Use getter methods to access its parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
private static org.apache.commons.logging.Log
protected final String
protected long
protected long
protected double
protected long
protected static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
long
long
double
long
boolean
boolean
boolean
-
Field Details
-
logger
private static org.apache.commons.logging.Log logger -
nl
-
UNDEFINED
protected static final int UNDEFINED- See Also:
-
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
-
-
Constructor Details
-
PerfMarker
- Parameters:
msg
- an FTP reply message containing the perf marker (not the reply itself!)- Throws:
IllegalArgumentException
-
-
Method Details
-
badMsg
-
hasStripeIndex
public boolean hasStripeIndex() -
hasStripeBytesTransferred
public boolean hasStripeBytesTransferred() -
hasTotalStripeCount
public boolean hasTotalStripeCount() -
getTimeStamp
public double getTimeStamp() -
getStripeIndex
- Throws:
PerfMarkerException
-
getStripeBytesTransferred
- Throws:
PerfMarkerException
-
getTotalStripeCount
- Throws:
PerfMarkerException
-