public class ReplicationTaskStats
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
elapsedTimeMillis
The elapsed time of the task, in milliseconds.
|
private java.lang.Integer |
fullLoadProgressPercent
The percent complete for the full load migration task.
|
private java.lang.Integer |
tablesErrored
The number of errors that have occurred during this task.
|
private java.lang.Integer |
tablesLoaded
The number of tables loaded for this task.
|
private java.lang.Integer |
tablesLoading
The number of tables currently loading for this task.
|
private java.lang.Integer |
tablesQueued
The number of tables queued for this task.
|
Constructor and Description |
---|
ReplicationTaskStats() |
Modifier and Type | Method and Description |
---|---|
ReplicationTaskStats |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getElapsedTimeMillis()
The elapsed time of the task, in milliseconds.
|
java.lang.Integer |
getFullLoadProgressPercent()
The percent complete for the full load migration task.
|
java.lang.Integer |
getTablesErrored()
The number of errors that have occurred during this task.
|
java.lang.Integer |
getTablesLoaded()
The number of tables loaded for this task.
|
java.lang.Integer |
getTablesLoading()
The number of tables currently loading for this task.
|
java.lang.Integer |
getTablesQueued()
The number of tables queued for this task.
|
int |
hashCode() |
void |
setElapsedTimeMillis(java.lang.Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.
|
void |
setFullLoadProgressPercent(java.lang.Integer fullLoadProgressPercent)
The percent complete for the full load migration task.
|
void |
setTablesErrored(java.lang.Integer tablesErrored)
The number of errors that have occurred during this task.
|
void |
setTablesLoaded(java.lang.Integer tablesLoaded)
The number of tables loaded for this task.
|
void |
setTablesLoading(java.lang.Integer tablesLoading)
The number of tables currently loading for this task.
|
void |
setTablesQueued(java.lang.Integer tablesQueued)
The number of tables queued for this task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicationTaskStats |
withElapsedTimeMillis(java.lang.Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.
|
ReplicationTaskStats |
withFullLoadProgressPercent(java.lang.Integer fullLoadProgressPercent)
The percent complete for the full load migration task.
|
ReplicationTaskStats |
withTablesErrored(java.lang.Integer tablesErrored)
The number of errors that have occurred during this task.
|
ReplicationTaskStats |
withTablesLoaded(java.lang.Integer tablesLoaded)
The number of tables loaded for this task.
|
ReplicationTaskStats |
withTablesLoading(java.lang.Integer tablesLoading)
The number of tables currently loading for this task.
|
ReplicationTaskStats |
withTablesQueued(java.lang.Integer tablesQueued)
The number of tables queued for this task.
|
private java.lang.Integer fullLoadProgressPercent
The percent complete for the full load migration task.
private java.lang.Long elapsedTimeMillis
The elapsed time of the task, in milliseconds.
private java.lang.Integer tablesLoaded
The number of tables loaded for this task.
private java.lang.Integer tablesLoading
The number of tables currently loading for this task.
private java.lang.Integer tablesQueued
The number of tables queued for this task.
private java.lang.Integer tablesErrored
The number of errors that have occurred during this task.
public void setFullLoadProgressPercent(java.lang.Integer fullLoadProgressPercent)
The percent complete for the full load migration task.
fullLoadProgressPercent
- The percent complete for the full load migration task.public java.lang.Integer getFullLoadProgressPercent()
The percent complete for the full load migration task.
public ReplicationTaskStats withFullLoadProgressPercent(java.lang.Integer fullLoadProgressPercent)
The percent complete for the full load migration task.
fullLoadProgressPercent
- The percent complete for the full load migration task.public void setElapsedTimeMillis(java.lang.Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.
elapsedTimeMillis
- The elapsed time of the task, in milliseconds.public java.lang.Long getElapsedTimeMillis()
The elapsed time of the task, in milliseconds.
public ReplicationTaskStats withElapsedTimeMillis(java.lang.Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.
elapsedTimeMillis
- The elapsed time of the task, in milliseconds.public void setTablesLoaded(java.lang.Integer tablesLoaded)
The number of tables loaded for this task.
tablesLoaded
- The number of tables loaded for this task.public java.lang.Integer getTablesLoaded()
The number of tables loaded for this task.
public ReplicationTaskStats withTablesLoaded(java.lang.Integer tablesLoaded)
The number of tables loaded for this task.
tablesLoaded
- The number of tables loaded for this task.public void setTablesLoading(java.lang.Integer tablesLoading)
The number of tables currently loading for this task.
tablesLoading
- The number of tables currently loading for this task.public java.lang.Integer getTablesLoading()
The number of tables currently loading for this task.
public ReplicationTaskStats withTablesLoading(java.lang.Integer tablesLoading)
The number of tables currently loading for this task.
tablesLoading
- The number of tables currently loading for this task.public void setTablesQueued(java.lang.Integer tablesQueued)
The number of tables queued for this task.
tablesQueued
- The number of tables queued for this task.public java.lang.Integer getTablesQueued()
The number of tables queued for this task.
public ReplicationTaskStats withTablesQueued(java.lang.Integer tablesQueued)
The number of tables queued for this task.
tablesQueued
- The number of tables queued for this task.public void setTablesErrored(java.lang.Integer tablesErrored)
The number of errors that have occurred during this task.
tablesErrored
- The number of errors that have occurred during this task.public java.lang.Integer getTablesErrored()
The number of errors that have occurred during this task.
public ReplicationTaskStats withTablesErrored(java.lang.Integer tablesErrored)
The number of errors that have occurred during this task.
tablesErrored
- The number of errors that have occurred during this task.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReplicationTaskStats clone()
clone
in class java.lang.Object