public class NDSPartitionOperationStatus extends java.lang.Object implements OperationStatus
ABORTED, BUSY, NOT_STARTED, SUCCESSFUL| Constructor and Description |
|---|
NDSPartitionOperationStatus(ObjectEntry partObjEntry,
NDSPartitionService partitionService,
java.lang.Thread operationT)
Constructs an NDSPartitionOperationStatus object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
Returns the status of NDS partition operation.
|
void |
waitForOperation(int length)
This method will wait for the specified length of time then return.
|
void |
waitForOperation(int length,
PartitionOperationCallBack cb)
This method will wait for the specified length of time(in millisecond) and call
the callback class.
|
public NDSPartitionOperationStatus(ObjectEntry partObjEntry, NDSPartitionService partitionService, java.lang.Thread operationT)
partObjEntry - The partition object with partition operation going on.partitionService - operationT - public void waitForOperation(int length,
PartitionOperationCallBack cb)
throws SPIException
waitForOperation in interface OperationStatuslength - The time length this method will wait before calling the callback class.cb - The callback class to be called after waiting for "length" time.SPIException - See SPIException for more information.public void waitForOperation(int length)
waitForOperation in interface OperationStatuslength - The time length this method will wait.public int getStatus()
throws SPIException
getStatus in interface OperationStatusSPIException - See SPIException for more information.
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 ${TODAY} ${TSTAMP}.