Package de.dlr.proseo.api.cadipmon
Klasse CadipMonitor.TransferFile
java.lang.Object
de.dlr.proseo.api.cadipmon.CadipMonitor.TransferFile
- Umschließende Klasse:
CadipMonitor
Class describing a single CADU (DSDB) file
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the DSDB block numberGets the channel the file belongs toGets the expected file eviction timeGets the file nameGets the file sizeGets the file publication timestampIndicates whether this file was retransferredgetUuid()
Gets the file UUIDboolean
Indicates whether this is the final file of the sessionvoid
setBlockNumber
(Integer blockNumber) Sets the DSDB block numbervoid
setChannel
(Integer channel) Sets the channel the file belongs tovoid
setEvictionTime
(Instant evictionTime) Sets the expected file eviction timevoid
setFilename
(String filename) Sets the file namevoid
setFileSize
(Integer fileSize) Sets the file sizevoid
setFinalBlock
(Boolean finalBlock) Sets the flag indicating whether this is the final file of the sessionvoid
setPublicationTime
(Instant publicationTime) Sets the file publication timestampvoid
setRetransfer
(Boolean retransfer) Sets the flag indicating a retransferred filevoid
Sets the file UUID
-
Konstruktordetails
-
TransferFile
public TransferFile()
-
-
Methodendetails
-
getUuid
Gets the file UUID- Gibt zurück:
- the UUID
-
setUuid
Sets the file UUID- Parameter:
uuid
- the UUID to set
-
getFilename
Gets the file name- Gibt zurück:
- the file name
-
setFilename
Sets the file name- Parameter:
filename
- the file name to set
-
getChannel
Gets the channel the file belongs to- Gibt zurück:
- the channel number
-
setChannel
Sets the channel the file belongs to- Parameter:
channel
- the channel number to set
-
getBlockNumber
Gets the DSDB block number- Gibt zurück:
- the block number
-
setBlockNumber
Sets the DSDB block number- Parameter:
blockNumber
- the block number to set
-
isFinalBlock
public boolean isFinalBlock()Indicates whether this is the final file of the session- Gibt zurück:
- true, if this is the final file, false otherwise
-
setFinalBlock
Sets the flag indicating whether this is the final file of the session- Parameter:
finalBlock
- set to true, if this is the final file, to false otherwise
-
getPublicationTime
Gets the file publication timestamp- Gibt zurück:
- the publication time
-
setPublicationTime
Sets the file publication timestamp- Parameter:
publicationTime
- the publication time to set
-
getEvictionTime
Gets the expected file eviction time- Gibt zurück:
- the eviction time
-
setEvictionTime
Sets the expected file eviction time- Parameter:
evictionTime
- the eviction time to set
-
getFileSize
Gets the file size- Gibt zurück:
- the file size in bytes
-
setFileSize
Sets the file size- Parameter:
fileSize
- the file size in bytes to set
-
getRetransfer
Indicates whether this file was retransferred- Gibt zurück:
- true, if the file was retransferred, false otherwise
-
setRetransfer
Sets the flag indicating a retransferred file- Parameter:
retransfer
- set to true, if the file was retransferred, to false otherwise
-