public interface OperationStatus
| Modifier and Type | Field and Description |
|---|---|
static int |
ABORTED |
static int |
BUSY |
static int |
NOT_STARTED |
static int |
SUCCESSFUL |
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
Returns the status of the operations.
|
void |
waitForOperation(int length)
Waits for the specified length (in millisecond) of time and then returns.
|
void |
waitForOperation(int length,
PartitionOperationCallBack cb)
This method waits for the specified length of time and calls the callback class.
|
static final int SUCCESSFUL
static final int ABORTED
static final int BUSY
static final int NOT_STARTED
void waitForOperation(int length,
PartitionOperationCallBack cb)
throws SPIException
length - The length of time (in milliseconds) this method will wait before calling
the callback class.cb - The callback class to be called after waiting for "length" time.SPIException - Thrown when the service provider returns an error.void waitForOperation(int length)
length - The time length this method will wait.int getStatus()
throws SPIException
SPIException - Thrown when the service provider returns an error.
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}.