public class RepositoryScanStatistics extends Object
Modifier and Type | Field and Description |
---|---|
private Map<String,Long> |
consumerCounts |
private Map<String,Long> |
consumerTimings |
private SimpleDateFormat |
df |
private long |
duration
Field duration
|
private List<String> |
invalidConsumers |
private List<String> |
knownConsumers |
private long |
newFileCount
Field newFileCount
|
private String |
repositoryId
Field repositoryId
|
private long |
startTimestamp |
private long |
totalFileCount
Field totalFileCount
|
private long |
totalSize
Field totalSize
|
private Date |
whenGathered
Field whenGathered
|
Constructor and Description |
---|
RepositoryScanStatistics() |
Modifier and Type | Method and Description |
---|---|
long |
getDuration() |
long |
getNewFileCount() |
String |
getRepositoryId() |
long |
getTotalFileCount() |
long |
getTotalSize() |
Date |
getWhenGathered() |
void |
increaseFileCount() |
void |
increaseNewFileCount() |
void |
setConsumerCounts(Map<String,Long> consumerCounts) |
void |
setConsumerTimings(Map<String,Long> consumerTimings) |
void |
setInvalidConsumers(List<String> consumers) |
void |
setKnownConsumers(List<String> consumers) |
void |
setRepositoryId(String repositoryId) |
String |
toDump(ManagedRepository repo) |
void |
triggerFinished() |
void |
triggerStart() |
private transient List<String> knownConsumers
private transient List<String> invalidConsumers
private transient long startTimestamp
private SimpleDateFormat df
private String repositoryId
private Date whenGathered
private long duration
private long totalFileCount
private long newFileCount
private long totalSize
private Map<String,Long> consumerCounts
private Map<String,Long> consumerTimings
public RepositoryScanStatistics()
public void triggerStart()
public Date getWhenGathered()
public void triggerFinished()
public void increaseFileCount()
public void increaseNewFileCount()
public void setKnownConsumers(List<String> consumers)
public void setInvalidConsumers(List<String> consumers)
public String toDump(ManagedRepository repo)
public void setRepositoryId(String repositoryId)
public String getRepositoryId()
public long getDuration()
public long getTotalFileCount()
public long getNewFileCount()
public long getTotalSize()
public void setConsumerCounts(Map<String,Long> consumerCounts)
public void setConsumerTimings(Map<String,Long> consumerTimings)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.