private class Chain.SiteTransfer extends Object
Modifier and Type | Field and Description |
---|---|
private List |
mBundles
The list of
Chain object. |
private int |
mCapacity
The maximum number of transfer jobs that are allowed for this
particular site.
|
private int |
mNext
The index of the bundle to which the next transfer for the site would
be added to.
|
private String |
mSite
The site for which these transfers are grouped.
|
Constructor and Description |
---|
Chain.SiteTransfer()
The default constructor.
|
Chain.SiteTransfer(String pool,
int bundle)
Convenience constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
addTransfer(String txJobName)
Adds a file transfer to the appropriate TransferChain.
|
String |
toString()
Returns the textual description of the object.
|
private int mCapacity
private int mNext
private String mSite
private List mBundles
Chain
object. Each bundle is actually a chain
of transfer nodes.public Chain.SiteTransfer()
public Chain.SiteTransfer(String pool, int bundle)
pool
- the pool name for which transfers are being grouped.bundle
- the number of logical bundles that are to be created
per site. it directly translates to the number of transfer
jobs that can be running at a particular sitepublic String addTransfer(String txJobName)
txJobName
- the name of the transfer job.Copyright © 2011 The University of Southern California. All Rights Reserved.