Package com.io7m.brooklime.api
Interface BLProgressEventType.BLProgressUpdateType
- All Superinterfaces:
BLProgressEventType
- All Known Implementing Classes:
BLProgressUpdate
- Enclosing interface:
BLProgressEventType
@Immutable
public static interface BLProgressEventType.BLProgressUpdateType
extends BLProgressEventType
Progress was made on a particular file.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.brooklime.api.BLProgressEventType
BLProgressEventType.BLProgressFileStartedType, BLProgressEventType.BLProgressUpdateType, BLProgressEventType.Kind -
Method Summary
Modifier and TypeMethodDescriptionintintlonglonglongintintdefault BLProgressEventType.Kindkind()name()doubleprogress()
-
Method Details
-
kind
- Specified by:
kindin interfaceBLProgressEventType- Returns:
- The event kind
-
name
String name()- Specified by:
namein interfaceBLProgressEventType- Returns:
- The event name
-
fileIndexCurrent
int fileIndexCurrent()- Specified by:
fileIndexCurrentin interfaceBLProgressEventType- Returns:
- The current file index
-
fileIndexMaximum
int fileIndexMaximum()- Specified by:
fileIndexMaximumin interfaceBLProgressEventType- Returns:
- The current maximum file index
-
attemptCurrent
int attemptCurrent()- Specified by:
attemptCurrentin interfaceBLProgressEventType- Returns:
- The current attempt number
-
attemptMaximum
int attemptMaximum()- Specified by:
attemptMaximumin interfaceBLProgressEventType- Returns:
- The maximum number of attempts
-
bytesSent
long bytesSent()- Returns:
- The number of bytes sent so far
-
bytesMaximum
long bytesMaximum()- Returns:
- The number of bytes that will be sent
-
progress
double progress()- Returns:
- The progress as a real value
-
bytesPerSecond
long bytesPerSecond()- Returns:
- The number of bytes per second
-
timeRemaining
Duration timeRemaining()- Returns:
- An estimate of the remaining time
-