public class EndRetrieveEvent extends RetrieveEvent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
EndRetrieveEvent(ModuleRevisionId mrid,
java.lang.String[] confs,
long elapsedTime,
int targetsCopied,
int targetsUpToDate,
long totalCopiedSize,
RetrieveOptions options) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDuration()
Duration of the retrieve operation, in ms.
|
int |
getNbCopied()
Number of artifacts which were copied (or symlinked) during the retrieve
|
int |
getNbUpToDate()
Number of artifacts which were not copied since they were already present and up to date.
|
long |
getTotalCopiedSize()
Total size of all copied (or symlinked) artifacts, in bytes.
|
getModuleRevisionId, getOptionsaddAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toStringpublic static final java.lang.String NAME
public EndRetrieveEvent(ModuleRevisionId mrid, java.lang.String[] confs, long elapsedTime, int targetsCopied, int targetsUpToDate, long totalCopiedSize, RetrieveOptions options)
public long getDuration()
public int getNbCopied()
public int getNbUpToDate()
public long getTotalCopiedSize()