|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.archiva.repository.scanner.RepositoryScanStatistics
public class RepositoryScanStatistics
RepositoryScanStatistics - extension to the RepositoryContentStatistics model.
Field Summary | |
---|---|
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 Summary | |
---|---|
RepositoryScanStatistics()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public RepositoryScanStatistics()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |