com.ibm.websphere.management.sync

Interface SyncResult


  1. public interface SyncResult
SyncResult describes the result of the most recent configuration synchronization operation. It is returned by the NodeSync MBean's getResult operation.

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
COMPLETE
The most recent synchronization operation completed successfully
  1. static
  2. int
ERROR
The most recent synchronization operation failed.
  1. static
  2. int
IN_PROGRESS
A synchronization operation is currently in progress
  1. static
  2. int
NOT_VERIFIED
The most recent synchronization operation completed but there was an error while verifying the success of the operation.
  1. static
  2. int
OUT_OF_SYNC
The node is not synchronized with the master configuration.

Method Summary

Modifier and Type Method and Description
  1. long
getCompleteTime()
Gets the time at which the most recent synchronization operation completed.
  1. long
getInitTime()
Gets the time at which the most recent synchronization operation began.
  1. int
getResult()
Gets the result of the most recent synchronization operation.
  1. boolean
isSuccessful()
Determines whether or not the most recent operation was successful
  1. boolean
isUpdated()
Determines whether the most recent synchronization operation resulted in updates to the node configuration.

Field Detail

IN_PROGRESS

  1. static final int IN_PROGRESS
A synchronization operation is currently in progress
See Also:

COMPLETE

  1. static final int COMPLETE
The most recent synchronization operation completed successfully
See Also:

NOT_VERIFIED

  1. static final int NOT_VERIFIED
The most recent synchronization operation completed but there was an error while verifying the success of the operation.
See Also:

OUT_OF_SYNC

  1. static final int OUT_OF_SYNC
The node is not synchronized with the master configuration.
See Also:

ERROR

  1. static final int ERROR
The most recent synchronization operation failed.
See Also:

Method Detail

getResult

  1. int getResult()
Gets the result of the most recent synchronization operation.
Returns:
One of the result constants defined above.

getInitTime

  1. long getInitTime()
Gets the time at which the most recent synchronization operation began.
Returns:
A timestamp indicating the when the operation began

getCompleteTime

  1. long getCompleteTime()
Gets the time at which the most recent synchronization operation completed.
Returns:
A timestamp indicating the when the operation completed

isSuccessful

  1. boolean isSuccessful()
Determines whether or not the most recent operation was successful
Returns:
true for success, otherwise false

isUpdated

  1. boolean isUpdated()
Determines whether the most recent synchronization operation resulted in updates to the node configuration.
Returns:
true if the node configuration was updated, otherwise false