public class ClusterGlusterVolume extends GlusterVolume
ClusterGlusterVolume providing relation and functional services
to GlusterVolume
.
Constructor and Description |
---|
ClusterGlusterVolume(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
ClusterGlusterVolumeGlusterBricks |
getGlusterBricks()
Gets the value of the ClusterGlusterVolumeGlusterBricks property.
|
Action |
rebalance(Action action)
Performs rebalance action.
|
Action |
rebalance(Action action,
String correlationId)
Performs rebalance action.
|
Action |
resetalloptions(Action action)
Performs resetalloptions action.
|
Action |
resetalloptions(Action action,
String correlationId)
Performs resetalloptions action.
|
Action |
resetoption(Action action)
Performs resetoption action.
|
Action |
resetoption(Action action,
String correlationId)
Performs resetoption action.
|
Action |
setoption(Action action)
Performs setoption action.
|
Action |
setoption(Action action,
String correlationId)
Performs setoption action.
|
Action |
start(Action action)
Performs start action.
|
Action |
start(Action action,
String correlationId)
Performs start action.
|
Action |
stop(Action action)
Performs stop action.
|
Action |
stop(Action action,
String correlationId)
Performs stop action.
|
getBricks, getCluster, getOptions, getReplicaCount, getStatus, getStripeCount, getTransportTypes, getVolumeType, isSetBricks, isSetCluster, isSetOptions, isSetReplicaCount, isSetStatus, isSetStripeCount, isSetTransportTypes, isSetVolumeType, setBricks, setCluster, setOptions, setReplicaCount, setStatus, setStripeCount, setTransportTypes, setVolumeType
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 ClusterGlusterVolume(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic ClusterGlusterVolumeGlusterBricks getGlusterBricks()
public Action stop(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[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 stop(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[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 Action start(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[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 start(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[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 Action resetalloptions(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
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 resetalloptions(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
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.public Action resetoption(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.option.name 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 resetoption(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.option.name 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 Action setoption(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.option.name action.option.value
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 setoption(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.option.name action.option.value
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 Action rebalance(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.fix_layout] [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 rebalance(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.fix_layout] [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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0