public class GlusterBrickServiceImpl extends ServiceImpl implements GlusterBrickService
GlusterBrickService.GetRequest, GlusterBrickService.GetResponse, GlusterBrickService.RemoveRequest, GlusterBrickService.RemoveResponse, GlusterBrickService.ReplaceRequest, GlusterBrickService.ReplaceResponse
Constructor and Description |
---|
GlusterBrickServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
GlusterBrickService.GetRequest |
get() |
GlusterBrickService.RemoveRequest |
remove()
Removes this brick from the volume and deletes it from the database.
|
GlusterBrickService.ReplaceRequest |
replace()
Replaces this brick with a new one.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
StatisticsService |
statisticsService() |
String |
toString() |
checkAction, checkFault, getConnection, getPath, throwError
public GlusterBrickServiceImpl(HttpConnection connection, String path)
public GlusterBrickService.GetRequest get()
get
in interface GlusterBrickService
public GlusterBrickService.RemoveRequest remove()
GlusterBrickService
Removes this brick from the volume and deletes it from the database.
remove
in interface GlusterBrickService
public GlusterBrickService.ReplaceRequest replace()
GlusterBrickService
Replaces this brick with a new one. The property brick
is required.
replace
in interface GlusterBrickService
public StatisticsService statisticsService()
public Service service(String path)
GlusterBrickService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface GlusterBrickService
Copyright © 2016. All rights reserved.