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, setStatus
getDevice, getFsName, getGlusterClients, getMemoryPools, getMntOptions, getPid, getPort, isSetDevice, isSetFsName, isSetGlusterClients, isSetMemoryPools, isSetMntOptions, isSetPid, isSetPort, setDevice, setFsName, setGlusterClients, setMemoryPools, setMntOptions, setPid, setPort
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public 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
org.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]
correlationId
- [any string]
Action
org.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
Response
org.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