Class WatcherClient


  • public final class WatcherClient
    extends java.lang.Object
    • Method Detail

      • putWatch

        public PutWatchResponse putWatch​(PutWatchRequest request,
                                         RequestOptions options)
                                  throws java.io.IOException
        Put a watch into the cluster See the docs for more.
        Parameters:
        request - the request
        options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
        Returns:
        the response
        Throws:
        java.io.IOException - in case there is a problem sending the request or parsing back the response