public final class C4ReplicatorStatus extends Object
Keep this class immutable.
Modifier and Type | Class and Description |
---|---|
static class |
C4ReplicatorStatus.ActivityLevel |
Constructor and Description |
---|
C4ReplicatorStatus(int activityLevel,
int errorDomain,
int errorCode) |
C4ReplicatorStatus(int activityLevel,
long progressUnitsCompleted,
long progressUnitsTotal,
long progressDocumentCount,
int errorDomain,
int errorCode,
int errorInternalInfo) |
Modifier and Type | Method and Description |
---|---|
C4ReplicatorStatus |
copy() |
int |
getActivityLevel() |
C4Error |
getC4Error() |
int |
getErrorCode() |
int |
getErrorDomain() |
int |
getErrorInternalInfo() |
long |
getProgressDocumentCount() |
long |
getProgressUnitsCompleted() |
long |
getProgressUnitsTotal() |
String |
toString() |
public C4ReplicatorStatus(int activityLevel, int errorDomain, int errorCode)
public C4ReplicatorStatus(int activityLevel, long progressUnitsCompleted, long progressUnitsTotal, long progressDocumentCount, int errorDomain, int errorCode, int errorInternalInfo)
@NonNull public C4ReplicatorStatus copy()
public int getActivityLevel()
public long getProgressUnitsCompleted()
public long getProgressUnitsTotal()
public long getProgressDocumentCount()
public int getErrorDomain()
public int getErrorCode()
public int getErrorInternalInfo()
@NonNull public C4Error getC4Error()