public class AsperaConfig extends Object
Constructor and Description |
---|
AsperaConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getDestinationRoot()
The file ID of the destination root directory.
|
long |
getMinRateCapKbps()
Lower limit of target rate, in Kbps.
|
long |
getMinRateCapMbps()
Lower limit of target rate, in Mbps.
|
long |
getMinRateKbps()
The minimum transfer rate.
|
long |
getMinRateMbps()
The minimum transfer rate.
|
int |
getMultiSession()
The number of simultaneous transfer sessions.
|
long |
getMultiSessionThreshold()
return the file size min threshold to allow multiSession to work
|
long |
getMultiSessionThresholdMb()
Return the file size min threshold in MB to allow multiSession to work
|
String |
getRatePolicy()
The rate policy to use when sharing bandwidth.
|
long |
getTargetRateCapKbps()
Upper limit of target rate, in Kbps.
|
long |
getTargetRateCapMbps()
Upper limit of target rate, in Mbps.
|
long |
getTargetRateKbps()
The desired speed of the transfer, in Kbps.
|
long |
getTargetRateMbps()
The desired speed of the transfer, in Mbps.
|
boolean |
isLockMinRate()
If the minimum transfer rate is locked by the server.
|
boolean |
isLockRatePolicy()
If the rate policy is locked by the server.
|
boolean |
isLockTargetRate()
If the target transfer rate is locked by the server.
|
void |
setDestinationRoot(String destinationRoot)
Set the file ID of the destination root directory.
|
void |
setLockMinRate(boolean lockMinRate)
Set to indicate if the minimum transfer rate is locked by the server.
|
void |
setLockRatePolicy(boolean lockRatePolicy)
Set to indicate if the rate policy is locked by the server.
|
void |
setLockTargetRate(boolean lockTargetRate)
Set to indicate if the target transfer rate is locked by the server.
|
void |
setMinRateCapKbps(long minRateCapKbps)
Set lower limit of target rate, in Kbps.
|
void |
setMinRateCapMbps(long minRateCapMbps)
Set lower limit of target rate, in Mbps.
|
void |
setMinRateKbps(long minRateKbps)
Set The minimum transfer rate.
|
void |
setMinRateMbps(long minRateMbps)
Set The minimum transfer rate.
|
void |
setMultiSession(int multiSession)
Set the number of simultaneous transfer sessions.
|
void |
setMultiSessionThreshold(long multiSessionThreshold)
Set the min size file threshold to allow multiSession to work
|
void |
setMultiSessionThresholdMb(long multiSessionThresholdMb)
Set the min size file threshold in MB to allow multiSession to work
|
void |
setRatePolicy(String ratePolicy)
The rate policy to use when sharing bandwidth.
|
void |
setTargetRateCapKbps(long targetRateCapKbps)
Set upper limit of target rate, in Kbps.
|
void |
setTargetRateCapMbps(long targetRateCapMbps)
Set upper limit of target rate, in Mbps.
|
void |
setTargetRateKbps(long targetRateKbps)
Set The desired speed of the transfer, in Kbps.
|
void |
setTargetRateMbps(long targetRateMbps)
Set The desired speed of the transfer, in Mbps.
|
AsperaConfig |
withDestinationRoot(String destinationRoot)
Set the file ID of the destination root directory.
|
AsperaConfig |
withLockMinRate(boolean lockMinRate)
Set to indicate if the minimum transfer rate is locked by the server.
|
AsperaConfig |
withLockRatePolicy(boolean lockRatePolicy)
Set to indicate if the rate policy is locked by the server.
|
AsperaConfig |
withLockTargetRate(boolean lockTargetRate)
Set to indicate if the target transfer rate is locked by the server.
|
AsperaConfig |
withMinRateCapKbps(long minRateCapKbps)
Set lower limit of target rate, in Kbps.
|
AsperaConfig |
withMinRateCapMbps(long minRateCapMbps)
Set lower limit of target rate, in Mbps.
|
AsperaConfig |
withMinRateKbps(long minRateKbps)
Set The minimum transfer rate.
|
AsperaConfig |
withMinRateMbps(long minRateMbps)
Set The minimum transfer rate.
|
AsperaConfig |
withMultiSession(int multiSession)
Set the number of simultaneous transfer sessions.
|
AsperaConfig |
withMultiSessionThreshold(long multiSessionThreshold)
Set the min size file threshold to allow multiSession to work
|
AsperaConfig |
withMultiSessionThresholdMb(long multiSessionThresholdMb)
Set the min size file threshold in MB to allow multiSession to work
|
AsperaConfig |
withRatePolicy(String ratePolicy)
The rate policy to use when sharing bandwidth.
|
AsperaConfig |
withTargetRateCapKbps(long targetRateCapKbps)
Set upper limit of target rate, in Kbps.
|
AsperaConfig |
withTargetRateCapMbps(long targetRateCapMbps)
Set upper limit of target rate, in Mbps.
|
AsperaConfig |
withTargetRateKbps(long targetRateKbps)
Set The desired speed of the transfer, in Kbps.
|
AsperaConfig |
withTargetRateMbps(long targetRateMbps)
Set The desired speed of the transfer, in Mbps.
|
public long getTargetRateKbps()
public void setTargetRateKbps(long targetRateKbps)
targetRateKbps
- public AsperaConfig withTargetRateKbps(long targetRateKbps)
targetRateKbps
- public long getTargetRateMbps()
public void setTargetRateMbps(long targetRateMbps)
targetRateMbps
- public AsperaConfig withTargetRateMbps(long targetRateMbps)
targetRateMbps
- public long getTargetRateCapKbps()
public void setTargetRateCapKbps(long targetRateCapKbps)
targetRateCapKbps
- public AsperaConfig withTargetRateCapKbps(long targetRateCapKbps)
targetRateCapKbps
- public long getTargetRateCapMbps()
public void setTargetRateCapMbps(long targetRateCapMbps)
targetRateCapMbps
- public AsperaConfig withTargetRateCapMbps(long targetRateCapMbps)
targetRateCapMbps
- public long getMinRateCapKbps()
public void setMinRateCapKbps(long minRateCapKbps)
minRateCapKbps
- public AsperaConfig withMinRateCapKbps(long minRateCapKbps)
minRateCapKbps
- public long getMinRateCapMbps()
public void setMinRateCapMbps(long minRateCapMbps)
minRateCapMbps
- public AsperaConfig withMinRateCapMbps(long minRateCapMbps)
minRateCapMbps
- public long getMinRateKbps()
public void setMinRateKbps(long minRateKbps)
minRateKbps
- public AsperaConfig withMinRateKbps(long minRateKbps)
minRateKbps
- public long getMinRateMbps()
public void setMinRateMbps(long minRateMbps)
minRateMbps
- public AsperaConfig withMinRateMbps(long minRateMbps)
minRateMbps
- public String getRatePolicy()
public void setRatePolicy(String ratePolicy)
ratePolicy
- public AsperaConfig withRatePolicy(String ratePolicy)
ratePolicy
- public boolean isLockMinRate()
public void setLockMinRate(boolean lockMinRate)
lockMinRate
- public AsperaConfig withLockMinRate(boolean lockMinRate)
lockMinRate
- public boolean isLockTargetRate()
public void setLockTargetRate(boolean lockTargetRate)
lockTargetRate
- public AsperaConfig withLockTargetRate(boolean lockTargetRate)
lockTargetRate
- public boolean isLockRatePolicy()
public void setLockRatePolicy(boolean lockRatePolicy)
lockRatePolicy
- public AsperaConfig withLockRatePolicy(boolean lockRatePolicy)
lockRatePolicy
- public int getMultiSession()
public void setMultiSession(int multiSession)
multiSession
- public AsperaConfig withMultiSession(int multiSession)
multiSession
- public String getDestinationRoot()
public void setDestinationRoot(String destinationRoot)
destinationRoot
- public AsperaConfig withDestinationRoot(String destinationRoot)
destinationRoot
- public long getMultiSessionThreshold()
public void setMultiSessionThreshold(long multiSessionThreshold)
multiSessionThreshold
- public AsperaConfig withMultiSessionThreshold(long multiSessionThreshold)
multiSessionThreshold
- public long getMultiSessionThresholdMb()
public void setMultiSessionThresholdMb(long multiSessionThresholdMb)
multiSessionThreshold
- public AsperaConfig withMultiSessionThresholdMb(long multiSessionThresholdMb)
multiSessionThreshold
- Copyright © 2024. All rights reserved.