|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.admin.ns.nds.NDSPartitionOperationStatus
NDSPartitionOperationStatus provides methods for the caller to check the create/merge partition operation status, also it allows the caller to wait or abort these operations.
| Field Summary |
| Fields inherited from interface com.novell.admin.ns.OperationStatus |
ABORTED, BUSY, NOT_STARTED, SUCCESSFUL |
| Constructor Summary | |
NDSPartitionOperationStatus(ObjectEntry partObjEntry,
NDSPartitionService partitionService,
java.lang.Thread operationT)
Constructs an NDSPartitionOperationStatus object. |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NDSPartitionOperationStatus(ObjectEntry partObjEntry,
NDSPartitionService partitionService,
java.lang.Thread operationT)
partObjEntry - The partition object with partition operation going on.partitionService - operationT - | Method Detail |
public int getStatus()
throws SPIException
getStatus in interface OperationStatusSPIException - See SPIException for more information.public void waitForOperation(int length)
waitForOperation in interface OperationStatuslength - The time length this method will wait.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||