public class ClusterGlusterVolumeGlusterBrick extends GlusterBrick
ClusterGlusterVolumeGlusterBrick providing relation and functional services
to GlusterBrick.
| Constructor and Description |
|---|
ClusterGlusterVolumeGlusterBrick(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Response |
delete()
Deletes object.
|
ClusterGlusterVolumeGlusterBrickStatistics |
getStatistics()
Gets the value of the ClusterGlusterVolumeGlusterBrickStatistics property.
|
Action |
replace(Action action)
Performs replace action.
|
Action |
replace(Action action,
String correlationId)
Performs replace action.
|
getBrickDir, getGlusterVolume, getServerId, getStatus, isSetBrickDir, isSetGlusterVolume, isSetServerId, isSetStatus, setBrickDir, setGlusterVolume, setServerId, setStatusgetDevice, getFsName, getGlusterClients, getMemoryPools, getMntOptions, getPid, getPort, isSetDevice, isSetFsName, isSetGlusterClients, isSetMemoryPools, isSetMntOptions, isSetPid, isSetPort, setDevice, setFsName, setGlusterClients, setMemoryPools, setMntOptions, setPid, setPortgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic ClusterGlusterVolumeGlusterBrick(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic ClusterGlusterVolumeGlusterBrickStatistics getStatistics()
public Action replace(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.brick.server_id
action.brick.brick_dir
[action.force]
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action replace(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.brick.server_id
action.brick.brick_dir
[action.force]
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0