Package com.sas.lsaf.execution.job
Class ManifestSynchronizationMetrics
java.lang.Object
com.sas.lsaf.execution.job.ManifestSynchronizationMetrics
- All Implemented Interfaces:
Serializable
The class that contains synchronization information when running a job.
- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManifestSynchronizationMetrics(int total, long size, long time) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
-
Constructor Details
-
ManifestSynchronizationMetrics
public ManifestSynchronizationMetrics(int total, long size, long time) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the metrics returned by the API.- Parameters:
total- The total number of files that were synchronized.size- The size (in bytes) of the total number of files that were synchronized.time- The time (in ms) to synchronize the files.
-
-
Method Details
-
getTotal
public int getTotal()Gets the total number of files that were synchronized.- Returns:
- The total number of files.
-
getSize
public long getSize()Gets the size (in bytes) of total number of files that were synchronized.- Returns:
- The size (in bytes).
-
getTime
public long getTime()Gets the time (in ms) to synchronize the files.- Returns:
- The time (in ms).
-
hashCode
public int hashCode() -
equals
-
toString
-