Interface ProgressInterface
- All Known Implementing Classes:
MonitoredInputStream
,MonitoredOutputStream
,TransferManager
public interface ProgressInterface
ECMWF Product Data Store (OpenECPDS) Project.
- Since:
- 2024-07-01
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Close and interrupt if required.long
Gets the byte sent.long
Gets the duration.long
Gets the start time.
-
Method Details
-
getStartTime
long getStartTime()Gets the start time.- Returns:
- the start time
-
getDuration
long getDuration()Gets the duration.- Returns:
- the duration
-
getByteSent
long getByteSent()Gets the byte sent.- Returns:
- the byte sent
-
closeAndInterruptIfRequired
void closeAndInterruptIfRequired()Close and interrupt if required.
-