Package de.dlr.proseo.api.cadipmon
Class CadipMonitor.TransferFile
java.lang.Object
de.dlr.proseo.api.cadipmon.CadipMonitor.TransferFile
- Enclosing class:
CadipMonitor
Class describing a single CADU (DSDB) file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets 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 UUIDbooleanIndicates whether this is the final file of the sessionvoidsetBlockNumber(Integer blockNumber) Sets the DSDB block numbervoidsetChannel(Integer channel) Sets the channel the file belongs tovoidsetEvictionTime(Instant evictionTime) Sets the expected file eviction timevoidsetFilename(String filename) Sets the file namevoidsetFileSize(Integer fileSize) Sets the file sizevoidsetFinalBlock(Boolean finalBlock) Sets the flag indicating whether this is the final file of the sessionvoidsetPublicationTime(Instant publicationTime) Sets the file publication timestampvoidsetRetransfer(Boolean retransfer) Sets the flag indicating a retransferred filevoidSets the file UUID
-
Constructor Details
-
TransferFile
public TransferFile()
-
-
Method Details
-
getUuid
Gets the file UUID- Returns:
- the UUID
-
setUuid
Sets the file UUID- Parameters:
uuid- the UUID to set
-
getFilename
Gets the file name- Returns:
- the file name
-
setFilename
Sets the file name- Parameters:
filename- the file name to set
-
getChannel
Gets the channel the file belongs to- Returns:
- the channel number
-
setChannel
Sets the channel the file belongs to- Parameters:
channel- the channel number to set
-
getBlockNumber
Gets the DSDB block number- Returns:
- the block number
-
setBlockNumber
Sets the DSDB block number- Parameters:
blockNumber- the block number to set
-
isFinalBlock
public boolean isFinalBlock()Indicates whether this is the final file of the session- Returns:
- true, if this is the final file, false otherwise
-
setFinalBlock
Sets the flag indicating whether this is the final file of the session- Parameters:
finalBlock- set to true, if this is the final file, to false otherwise
-
getPublicationTime
Gets the file publication timestamp- Returns:
- the publication time
-
setPublicationTime
Sets the file publication timestamp- Parameters:
publicationTime- the publication time to set
-
getEvictionTime
Gets the expected file eviction time- Returns:
- the eviction time
-
setEvictionTime
Sets the expected file eviction time- Parameters:
evictionTime- the eviction time to set
-
getFileSize
Gets the file size- Returns:
- the file size in bytes
-
setFileSize
Sets the file size- Parameters:
fileSize- the file size in bytes to set
-
getRetransfer
Indicates whether this file was retransferred- Returns:
- true, if the file was retransferred, false otherwise
-
setRetransfer
Sets the flag indicating a retransferred file- Parameters:
retransfer- set to true, if the file was retransferred, to false otherwise
-