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.
|
Action |
activate(Action action,
String correlationId,
Boolean async)
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.
|
List<ClusterGlusterVolumeGlusterBrick> |
list(Integer max,
String allContent)
Lists ClusterGlusterVolumeGlusterBrick objects.
|
Action |
migrate(Action action)
Performs migrate action.
|
Action |
migrate(Action action,
String correlationId)
Performs migrate action.
|
Action |
migrate(Action action,
String correlationId,
Boolean async)
Performs migrate action.
|
Action |
stopmigrate(Action action)
Performs stopmigrate action.
|
Action |
stopmigrate(Action action,
String correlationId)
Performs stopmigrate action.
|
Action |
stopmigrate(Action action,
String correlationId,
Boolean async)
Performs stopmigrate action.
|
get
public 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>
ClusterGlusterVolumeGlusterBrick
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 ClusterGlusterVolumeGlusterBrick get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<GlusterBrick,GlusterBricks,ClusterGlusterVolumeGlusterBrick>
id
- entity idClusterGlusterVolumeGlusterBrick
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 ClusterGlusterVolumeGlusterBrick getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<GlusterBrick,GlusterBricks,ClusterGlusterVolumeGlusterBrick>
id
- entity idClusterGlusterVolumeGlusterBrick
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 activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.bricks [action.async] [action.grace_period.expiry]
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 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]
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 activate(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.bricks [action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks
- GlusterBricks
brick [replica_count] [stripe_count]
ClusterGlusterVolumeGlusterBrick
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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick, Boolean force) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks
- GlusterBricks
brick [replica_count] [stripe_count]
force
- [true|false]
ClusterGlusterVolumeGlusterBrick
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 ClusterGlusterVolumeGlusterBrick add(GlusterBrick glusterbrick, Boolean force, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
glusterbricks
- GlusterBricks
brick [replica_count] [stripe_count]
force
- [true|false]
expect
- [201-created]
ClusterGlusterVolumeGlusterBrick
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 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]
force
- [true|false]
expect
- [201-created]
correlationId
- [any string]
ClusterGlusterVolumeGlusterBrick
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 List<ClusterGlusterVolumeGlusterBrick> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
ClusterGlusterVolumeGlusterBrick
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 List<ClusterGlusterVolumeGlusterBrick> list(Integer max, String allContent) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
allContent
- [true|false]
ClusterGlusterVolumeGlusterBrick
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 migrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.bricks [action.async] [action.grace_period.expiry]
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 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]
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 migrate(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.bricks [action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
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 stopmigrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.bricks [action.async] [action.grace_period.expiry]
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 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]
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 stopmigrate(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.bricks [action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
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