edu.isi.pegasus.planner.catalog.site.impl.old.classes
Class GridFTPBandwidth

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.site.impl.old.classes.GridFTPBandwidth

public class GridFTPBandwidth
extends Object

This is a data class to store information about gridftp bandwidths between various sites. The class is no longer used, and is there for compilation purposes.

Version:
$Revision: 2571 $
Author:
Saurabh Khurana, Karan Vahi

Field Summary
private  String avg_bandwidth
           
private  String avg_bandwidth_range1
           
private  String avg_bandwidth_range2
           
private  String avg_bandwidth_range3
           
private  String avg_bandwidth_range4
           
static int AVG_BW
           
static int AVG_BW_RANGE1
           
static int AVG_BW_RANGE2
           
static int AVG_BW_RANGE3
           
static int AVG_BW_RANGE4
           
static int DEST_ID
           
private  String dest_subnet_id
           
static String[] GRIDFTPBANDWIDTHINFO
           
private  String max_bandwidth
           
static int MAX_BW
           
private  String min_bandwidth
           
static int MIN_BW
           
 
Constructor Summary
GridFTPBandwidth()
           
 
Method Summary
 String getInfo(int gridftpbwkey)
          This method gets the info about gridftpbw based on the gridftpbwkey
 void setInfo(int gridftpbwkey, String gridftpbwvalue)
          This method sets the info about gridftpbw based on the gridftpbwkey
 String toString()
           
 String toXML()
          Returns the XML description of the contents of Gridftp object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dest_subnet_id

private String dest_subnet_id

avg_bandwidth_range1

private String avg_bandwidth_range1

avg_bandwidth_range2

private String avg_bandwidth_range2

avg_bandwidth_range3

private String avg_bandwidth_range3

avg_bandwidth_range4

private String avg_bandwidth_range4

avg_bandwidth

private String avg_bandwidth

max_bandwidth

private String max_bandwidth

min_bandwidth

private String min_bandwidth

GRIDFTPBANDWIDTHINFO

public static final String[] GRIDFTPBANDWIDTHINFO

DEST_ID

public static final int DEST_ID
See Also:
Constant Field Values

AVG_BW_RANGE1

public static final int AVG_BW_RANGE1
See Also:
Constant Field Values

AVG_BW_RANGE2

public static final int AVG_BW_RANGE2
See Also:
Constant Field Values

AVG_BW_RANGE3

public static final int AVG_BW_RANGE3
See Also:
Constant Field Values

AVG_BW_RANGE4

public static final int AVG_BW_RANGE4
See Also:
Constant Field Values

AVG_BW

public static final int AVG_BW
See Also:
Constant Field Values

MAX_BW

public static final int MAX_BW
See Also:
Constant Field Values

MIN_BW

public static final int MIN_BW
See Also:
Constant Field Values
Constructor Detail

GridFTPBandwidth

public GridFTPBandwidth()
Method Detail

setInfo

public void setInfo(int gridftpbwkey,
                    String gridftpbwvalue)
             throws Exception
This method sets the info about gridftpbw based on the gridftpbwkey

Parameters:
gridftpbwkey - the key for indicating the information
gridftpbwvalue - is the information
Throws:
Exception

getInfo

public String getInfo(int gridftpbwkey)
               throws Exception
This method gets the info about gridftpbw based on the gridftpbwkey

Parameters:
gridftpbwkey - the key for requesting the information
Returns:
String
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

toXML

public String toXML()
Returns the XML description of the contents of Gridftp object.

Returns:
the xml description.


Copyright © 2011 The University of Southern California. All Rights Reserved.