Package org.globus.ftp.dc
Class StripeContextManager.StripeTransferContext
java.lang.Object
org.globus.ftp.dc.EBlockParallelTransferContext
org.globus.ftp.dc.StripeContextManager.StripeTransferContext
- All Implemented Interfaces:
TransferContext
- Enclosing class:
- StripeContextManager
-
Field Summary
FieldsFields inherited from class org.globus.ftp.dc.EBlockParallelTransferContext
eodsTotal, eodsTransferred, logger, quitToken, socketPool, UNDEFINED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrelease the token if and only if (all EODS have been sent, or all EODS have been received), and the token has not been released yet.Methods inherited from class org.globus.ftp.dc.EBlockParallelTransferContext
eodTransferred, getEodsTotal, getEodsTransferred, getSocketPool, getTransferThreadManager, setEodsTotal, setSocketPool, setTransferThreadManager
-
Field Details
-
mgr
-
-
Constructor Details
-
StripeTransferContext
-
-
Method Details
-
getStripeQuitToken
- Returns:
- non-null if this stripe received or sent all the EODs
-
getQuitToken
Description copied from class:EBlockParallelTransferContext
release the token if and only if (all EODS have been sent, or all EODS have been received), and the token has not been released yet. So this method will return non-null only one in the instance's lifetime.- Specified by:
getQuitToken
in interfaceTransferContext
- Overrides:
getQuitToken
in classEBlockParallelTransferContext
- Returns:
- non-null if all EODs in all stripes have been transferred.
-