Class FastDownloadSessionOptions
- java.lang.Object
-
- ch.ethz.sis.openbis.generic.dssapi.v3.dto.datasetfile.fastdownload.FastDownloadSessionOptions
-
- All Implemented Interfaces:
java.io.Serializable
@JsonObject("dss.dto.datasetfile.fastdownload.FastDownloadSessionOptions") public class FastDownloadSessionOptions extends java.lang.Object implements java.io.SerializableOptions for fast downloading.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FastDownloadSessionOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetWishedNumberOfStreams()java.lang.StringtoString()FastDownloadSessionOptionswithWishedNumberOfStreams(java.lang.Integer wishedNumberOfStreams)Sets the wished number of streams for parallel downloading.
-
-
-
Method Detail
-
getWishedNumberOfStreams
public java.lang.Integer getWishedNumberOfStreams()
-
withWishedNumberOfStreams
public FastDownloadSessionOptions withWishedNumberOfStreams(java.lang.Integer wishedNumberOfStreams)
Sets the wished number of streams for parallel downloading. The actual number can be less than the wished number.- Parameters:
wishedNumberOfStreams- can benullif there is no wish (default behavior)- Returns:
- this instance.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-