vertx / io.vertx.reactivex.ext.consul / ConsulClient / getValuesWithOptions

getValuesWithOptions

open fun getValuesWithOptions(keyPrefix: String, options: BlockingQueryOptions, resultHandler: Handler<AsyncResult<KeyValueList>>): ConsulClient

Returns the list of key/value pairs that corresponding to the specified key prefix. An empty io.vertx.ext.consul.KeyValueList object will be returned if no such key prefix is found. This is blocking query unlike io.vertx.reactivex.ext.consul.ConsulClient#getValues

Parameters

keyPrefix - the prefix

options - the blocking options

resultHandler - will be provided with list of key/value pairs

Return
reference to this, for fluency