public class ClusterGlusterVolumeGlusterBricks extends CollectionDecorator<GlusterBrick,GlusterBricks,ClusterGlusterVolumeGlusterBrick>
ClusterGlusterVolumeGlusterBricks providing relation and functional services
to GlusterBricks.
| Constructor and Description |
|---|
ClusterGlusterVolumeGlusterBricks(HttpProxyBroker proxy,
ClusterGlusterVolume parent) |
| Modifier and Type | Method and Description |
|---|---|
Action |
activate(Action action)
Performs activate action.
|
Action |
activate(Action action,
String correlationId)
Performs activate action.
|
ClusterGlusterVolumeGlusterBrick |
add(GlusterBrick glusterbrick)
Adds GlusterBrick object.
|
ClusterGlusterVolumeGlusterBrick |
add(GlusterBrick glusterbrick,
Boolean force)
Adds GlusterBrick object.
|
ClusterGlusterVolumeGlusterBrick |
add(GlusterBrick glusterbrick,
Boolean force,
String expect)
Adds GlusterBrick object.
|
ClusterGlusterVolumeGlusterBrick |
add(GlusterBrick glusterbrick,
Boolean force,
String expect,
String correlationId)
Adds GlusterBrick object.
|
ClusterGlusterVolumeGlusterBrick |
get(UUID id)
Fetches ClusterGlusterVolumeGlusterBrick object by id.
|
ClusterGlusterVolumeGlusterBrick |
getById(String id)
Fetches ClusterGlusterVolumeGlusterBrick object by id.
|
List<ClusterGlusterVolumeGlusterBrick> |
list()
Lists ClusterGlusterVolumeGlusterBrick objects.
|
List<ClusterGlusterVolumeGlusterBrick> |
list(Integer max)
Lists ClusterGlusterVolumeGlusterBrick objects.
|
Action |
migrate(Action action)
Performs migrate action.
|
Action |
migrate(Action action,
String correlationId)
Performs migrate action.
|
Action |
stopmigrate(Action action)
Performs stopmigrate action.
|
Action |
stopmigrate(Action action,
String correlationId)
Performs stopmigrate action.
|
getpublic ClusterGlusterVolumeGlusterBricks(HttpProxyBroker proxy, ClusterGlusterVolume parent)
proxy - HttpProxyBrokerparent - ClusterGlusterVolumepublic List<ClusterGlusterVolumeGlusterBrick> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<GlusterBrick,GlusterBricks,ClusterGlusterVolumeGlusterBrick>ClusterGlusterVolumeGlusterBrickorg.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 ClusterGlusterVolumeGlusterBrick get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<GlusterBrick,GlusterBricks,ClusterGlusterVolumeGlusterBrick>id - entity idClusterGlusterVolumeGlusterBrickorg.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 ClusterGlusterVolumeGlusterBrick getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<GlusterBrick,GlusterBricks,ClusterGlusterVolumeGlusterBrick>id - entity idClusterGlusterVolumeGlusterBrickorg.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 activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.bricks
[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 activate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.bricks
[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 Action stopmigrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.bricks
[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 stopmigrate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.bricks
[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 Action migrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.bricks
[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 migrate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.bricks
[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 List<ClusterGlusterVolumeGlusterBrick> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
ClusterGlusterVolumeGlusterBrickorg.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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks - GlusterBricks
brick
[replica_count]
[stripe_count]
ClusterGlusterVolumeGlusterBrickorg.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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick, Boolean force) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks - GlusterBricks
brick
[replica_count]
[stripe_count]
force -
[true|false]
ClusterGlusterVolumeGlusterBrickorg.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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick, Boolean force, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks - GlusterBricks
brick
[replica_count]
[stripe_count]
expect -
[201-created]
force -
[true|false]
ClusterGlusterVolumeGlusterBrickorg.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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick, Boolean force, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks - GlusterBricks
brick
[replica_count]
[stripe_count]
expect -
[201-created]
correlationId -
[any string]
force -
[true|false]
ClusterGlusterVolumeGlusterBrickorg.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