public interface Storage extends Service, StorageTypes
Storage
interface provides methods Appliance storage configurationStorageTypes.StorageChange, StorageTypes.StorageMapping
Modifier and Type | Method and Description |
---|---|
java.util.List<StorageTypes.StorageMapping> |
list()
Get disk to partition mapping.
|
void |
list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback)
Get disk to partition mapping.
|
void |
list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback,
InvocationConfig invocationConfig)
Get disk to partition mapping.
|
java.util.List<StorageTypes.StorageMapping> |
list(InvocationConfig invocationConfig)
Get disk to partition mapping.
|
void |
resize()
Resize all partitions to 100 percent of disk size.
|
void |
resize(AsyncCallback<java.lang.Void> asyncCallback)
Resize all partitions to 100 percent of disk size.
|
void |
resize(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
void |
resize(InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
java.util.Map<java.lang.String,StorageTypes.StorageChange> |
resizeEx()
Resize all partitions to 100 percent of disk size.
|
void |
resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback)
Resize all partitions to 100 percent of disk size.
|
void |
resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback,
InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
java.util.Map<java.lang.String,StorageTypes.StorageChange> |
resizeEx(InvocationConfig invocationConfig)
Resize all partitions to 100 percent of disk size.
|
java.util.List<StorageTypes.StorageMapping> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorjava.util.List<StorageTypes.StorageMapping> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
list of mapping items
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<StorageTypes.StorageMapping>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
list of mapping items
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void resize()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorvoid resize(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid resize(AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void resize(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.Map<java.lang.String,StorageTypes.StorageChange> resizeEx()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorjava.util.Map<java.lang.String,StorageTypes.StorageChange> resizeEx(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
List of the partitions with the size before and after resizing
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void resizeEx(AsyncCallback<java.util.Map<java.lang.String,StorageTypes.StorageChange>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
List of the partitions with the size before and after resizing
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.