public class RemoteCacheUploadStats extends Object
Constructor and Description |
---|
RemoteCacheUploadStats() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesUploaded() |
int |
getFailureCount() |
int |
getOngoingCount() |
int |
getScheduledCount() |
int |
getSuccessCount() |
void |
incrementFailureCount() |
void |
incrementScheduledCount() |
void |
incrementSuccessCount() |
void |
processFinishedEvent(HttpArtifactCacheEvent.Finished event)
Process an finished upload event.
|
void |
processScheduledEvent(HttpArtifactCacheEvent.Scheduled event)
Process an scheduled upload event.
|
void |
processStartedEvent(HttpArtifactCacheEvent.Started event)
Process an started upload event.
|
public void processScheduledEvent(HttpArtifactCacheEvent.Scheduled event)
event
- the scheduled event.public void processStartedEvent(HttpArtifactCacheEvent.Started event)
event
- the started event.public void processFinishedEvent(HttpArtifactCacheEvent.Finished event)
event
- the finished event.public void incrementScheduledCount()
public void incrementSuccessCount()
public void incrementFailureCount()
public long getBytesUploaded()
public int getScheduledCount()
public int getOngoingCount()
public int getSuccessCount()
public int getFailureCount()