Package org.ovirt.engine.sdk4.services
Interface GlusterHookService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
GlusterHookServiceImpl
public interface GlusterHookService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
GlusterHookService.DisableRequest
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster.static interface
GlusterHookService.DisableResponse
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster.static interface
GlusterHookService.EnableRequest
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster.static interface
GlusterHookService.EnableResponse
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster.static interface
GlusterHookService.GetRequest
static interface
GlusterHookService.GetResponse
static interface
GlusterHookService.RemoveRequest
Removes the this Gluster hook from all servers in cluster and deletes it from the database.static interface
GlusterHookService.RemoveResponse
Removes the this Gluster hook from all servers in cluster and deletes it from the database.static interface
GlusterHookService.ResolveRequest
Resolves missing hook conflict depending on the resolution type.static interface
GlusterHookService.ResolveResponse
Resolves missing hook conflict depending on the resolution type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlusterHookService.DisableRequest
disable()
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster.GlusterHookService.EnableRequest
enable()
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster.GlusterHookService.GetRequest
get()
GlusterHookService.RemoveRequest
remove()
Removes the this Gluster hook from all servers in cluster and deletes it from the database.GlusterHookService.ResolveRequest
resolve()
Resolves missing hook conflict depending on the resolution type.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
disable
GlusterHookService.DisableRequest disable()
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster. This updates the hook status to `DISABLED` in database.
-
enable
GlusterHookService.EnableRequest enable()
Resolves status conflict of hook among servers in cluster by disabling Gluster hook in all servers of the cluster. This updates the hook status to `DISABLED` in database.
-
get
GlusterHookService.GetRequest get()
-
remove
GlusterHookService.RemoveRequest remove()
Removes the this Gluster hook from all servers in cluster and deletes it from the database.
-
resolve
GlusterHookService.ResolveRequest resolve()
Resolves missing hook conflict depending on the resolution type. For `ADD` resolves by copying hook stored in engine database to all servers where the hook is missing. The engine maintains a list of all servers where hook is missing. For `COPY` resolves conflict in hook content by copying hook stored in engine database to all servers where the hook is missing. The engine maintains a list of all servers where the content is conflicting. If a host id is passed as parameter, the hook content from the server is used as the master to copy to other servers in cluster.
-
-