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 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 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:EBlockParallelTransferContextrelease 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:
getQuitTokenin interfaceTransferContext- Overrides:
getQuitTokenin classEBlockParallelTransferContext- Returns:
- non-null if all EODs in all stripes have been transferred.
-