com.novell.admin.ns.nds
Class NDSReplicaOperationStatus

java.lang.Object
  extended bycom.novell.admin.ns.nds.NDSReplicaOperationStatus
All Implemented Interfaces:
OperationStatus

public class NDSReplicaOperationStatus
extends java.lang.Object
implements OperationStatus

NDSReplicaOperationStatus is an NO-OP class because a replica operation is not multithreaded.


Field Summary
 
Fields inherited from interface com.novell.admin.ns.OperationStatus
ABORTED, BUSY, NOT_STARTED, SUCCESSFUL
 
Constructor Summary
NDSReplicaOperationStatus(int status)
          Constructor
 
Method Summary
 int getStatus()
          Returns the operation status indicating success.
 void waitForOperation(int length)
          This method is a NO-OP method.
 void waitForOperation(int length, PartitionOperationCallBack cb)
          This method is a NO-OP method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDSReplicaOperationStatus

public NDSReplicaOperationStatus(int status)
Constructor

Parameters:
status - The operation status.
Method Detail

getStatus

public int getStatus()
              throws SPIException
Returns the operation status indicating success.

Specified by:
getStatus in interface OperationStatus
Returns:
The operation status.
Throws:
SPIException - Thrown by the provider.

waitForOperation

public void waitForOperation(int length)
This method is a NO-OP method.

Specified by:
waitForOperation in interface OperationStatus
Parameters:
length - The amount of time to wait.

waitForOperation

public void waitForOperation(int length,
                             PartitionOperationCallBack cb)
                      throws SPIException
This method is a NO-OP method.

Specified by:
waitForOperation in interface OperationStatus
Parameters:
length - The time to wait.
cb - The call back.
Throws:
SPIException - Thrown by the provider when an error occurs.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.