src/main/java/org/apache/dubbo/remoting/etcd/jetcd/JEtcdClient.java
/**
         * create new watching request for current path.
         */
create new watching request for current path.
create new watching request for current path .
protected WatchRequest nextRequest() {
            WatchCreateRequest.Builder builder = WatchCreateRequest.newBuilder()
                    .setKey(ByteString.copyFromUtf8(path))
                    .setRangeEnd(ByteString.copyFrom(
                            OptionUtil.prefixEndOf(ByteSequence.fromString(path)).getBytes()))
                    .setProgressNotify(true);
            return WatchRequest.newBuilder().setCreateRequest(builder).build();
        }
protected WatchRequest nextRequest ( ) { WatchCreateRequest . Builder builder = WatchCreateRequest . newBuilder ( ) . setKey ( ByteString . copyFromUtf8 ( path ) ) . setRangeEnd ( ByteString . copyFrom ( OptionUtil . prefixEndOf ( ByteSequence . fromString ( path ) ) . getBytes ( ) ) ) . setProgressNotify ( true ) ; return WatchRequest . newBuilder ( ) . setCreateRequest ( builder ) . build ( ) ; }
create new watching request for current path.
create new watching request for current path .