public interface GlusterHookService extends Service
Modifier and Type | Interface and 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.
|
Modifier and Type | Method and 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.
|
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.
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.
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.
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.
Copyright © 2016. All rights reserved.