public interface SyncResult
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETE
The most recent synchronization operation completed successfully
|
static int |
ERROR
The most recent synchronization operation failed.
|
static int |
IN_PROGRESS
A synchronization operation is currently in progress
|
static int |
NOT_VERIFIED
The most recent synchronization operation completed but there was an
error while verifying the success of the operation.
|
static int |
OUT_OF_SYNC
The node is not synchronized with the master configuration.
|
Modifier and Type | Method and Description |
---|---|
long |
getCompleteTime()
Gets the time at which the most recent synchronization operation
completed.
|
long |
getInitTime()
Gets the time at which the most recent synchronization operation
began.
|
int |
getResult()
Gets the result of the most recent synchronization operation.
|
boolean |
isSuccessful()
Determines whether or not the most recent operation was successful
|
boolean |
isUpdated()
Determines whether the most recent synchronization operation resulted
in updates to the node configuration.
|
static final int IN_PROGRESS
static final int COMPLETE
static final int NOT_VERIFIED
static final int OUT_OF_SYNC
static final int ERROR
int getResult()
long getInitTime()
long getCompleteTime()
boolean isSuccessful()
true
for success, otherwise false
boolean isUpdated()
true
if the node configuration was updated,
otherwise false