public class GlusterVolumesServiceImpl extends ServiceImpl implements GlusterVolumesService
GlusterVolumesService.AddRequest, GlusterVolumesService.AddResponse, GlusterVolumesService.ListRequest, GlusterVolumesService.ListResponse
Constructor and Description |
---|
GlusterVolumesServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
GlusterVolumesService.AddRequest |
add()
Creates a new Gluster volume and adds it to the database.
|
GlusterVolumesService.ListRequest |
list() |
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
String |
toString() |
GlusterVolumeService |
volumeService(String id) |
checkAction, checkFault, getConnection, getPath, throwError
public GlusterVolumesServiceImpl(HttpConnection connection, String path)
public GlusterVolumesService.AddRequest add()
GlusterVolumesService
Creates a new Gluster volume and adds it to the database. The volume is created based on properties of the
volume
parameter. The properties name
, volumeType
and bricks
are required.
add
in interface GlusterVolumesService
public GlusterVolumesService.ListRequest list()
list
in interface GlusterVolumesService
public GlusterVolumeService volumeService(String id)
volumeService
in interface GlusterVolumesService
public Service service(String path)
GlusterVolumesService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface GlusterVolumesService
Copyright © 2016. All rights reserved.