IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.management.sync
Interface SyncResult


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
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.
 
Method Summary
 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.
 

Field Detail

IN_PROGRESS

static final int IN_PROGRESS
A synchronization operation is currently in progress

See Also:
Constant Field Values

COMPLETE

static final int COMPLETE
The most recent synchronization operation completed successfully

See Also:
Constant Field Values

NOT_VERIFIED

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:
Constant Field Values

OUT_OF_SYNC

static final int OUT_OF_SYNC
The node is not synchronized with the master configuration.

See Also:
Constant Field Values

ERROR

static final int ERROR
The most recent synchronization operation failed.

See Also:
Constant Field Values
Method Detail

getResult

int getResult()
Gets the result of the most recent synchronization operation.

Returns:
One of the result constants defined above.

getInitTime

long getInitTime()
Gets the time at which the most recent synchronization operation began.

Returns:
A timestamp indicating the when the operation began

getCompleteTime

long getCompleteTime()
Gets the time at which the most recent synchronization operation completed.

Returns:
A timestamp indicating the when the operation completed

isSuccessful

boolean isSuccessful()
Determines whether or not the most recent operation was successful

Returns:
true for success, otherwise false

isUpdated

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

IBM WebSphere Application ServerTM
Release 7