FileTransmission
- public abstract class FileTransmission
Fields
createdTimestamp
- protected final long createdTimestamp
id
lock
- protected ReentrantLock lock
status
- protected final RegistrationStatus status
touchedTimestamp
- protected long touchedTimestamp
Constructors
FileTransmission
Methods
cleanUp
- public abstract void cleanUp()
getCreatedTimestamp
- public long getCreatedTimestamp()
getFile
- public abstract FileProperties getFile(String fileId)
getId
getMaxChunkSize
- public long getMaxChunkSize()
getMaxFileSize
- public long getMaxFileSize()
getRegistrationStatus
- public RegistrationStatus getRegistrationStatus()
getTouchedTimestamp
- public long getTouchedTimestamp()
getTransmissionSettings
- public abstract FileTransmissionSettings getTransmissionSettings()
isExpired
- public boolean isExpired()
touch
- public void touch()