Interface GlusterHookService

    • 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.
      • 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.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.