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 TypeMethodDescriptionvoidClose and interrupt if required.longGets the byte sent.longGets the duration.longGets 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.
-