object Watch
- Alphabetic
- By Inheritance
- Watch
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[T](asJava: ext.consul.Watch[_])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Watch[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
events(event: String, vertx: Vertx, options: ConsulClientOptions): Watch[EventList]
Creates
Watchto monitoring the custom user events.Creates
Watchto monitoring the custom user events. This maps to the /v1/event/list API internally. * @param event the event name- vertx
the
Vertxinstance- options
the options to create underlying Consul client see ConsulClientOptions
- returns
the
Watchinstance
-
def
events(event: String, vertx: Vertx): Watch[EventList]
Creates
Watchto monitoring the custom user events.Creates
Watchto monitoring the custom user events. The underlying Consul client will be created with default options. This maps to the /v1/event/list API internally. * @param event the event name- vertx
the
Vertxinstance- returns
the
Watchinstance
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
key(key: String, vertx: Vertx, options: ConsulClientOptions): Watch[KeyValue]
Creates
Watchto monitoring a specific key in the KV store.Creates
Watchto monitoring a specific key in the KV store. This maps to the /v1/kv/ API internally. * @param key the key- vertx
the
Vertxinstance- options
the options to create underlying Consul client see ConsulClientOptions
- returns
the
Watchinstance
-
def
key(key: String, vertx: Vertx): Watch[KeyValue]
Creates
Watchto monitoring a specific key in the KV store.Creates
Watchto monitoring a specific key in the KV store. The underlying Consul client will be created with default options. This maps to the /v1/kv/ API internally. * @param key the key- vertx
the
Vertxinstance- returns
the
Watchinstance
-
def
keyPrefix(keyPrefix: String, vertx: Vertx, options: ConsulClientOptions): Watch[KeyValueList]
Creates
Watchto monitoring a prefix of keys in the KV store.Creates
Watchto monitoring a prefix of keys in the KV store. This maps to the /v1/kv/ API internally. * @param keyPrefix the key- vertx
the
Vertxinstance- options
the options to create underlying Consul client see ConsulClientOptions
- returns
the
Watchinstance
-
def
keyPrefix(keyPrefix: String, vertx: Vertx): Watch[KeyValueList]
Creates
Watchto monitoring a prefix of keys in the KV store.Creates
Watchto monitoring a prefix of keys in the KV store. The underlying Consul client will be created with default options. This maps to the /v1/kv/ API internally. * @param keyPrefix the key- vertx
the
Vertxinstance- returns
the
Watchinstance
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nodes(vertx: Vertx, options: ConsulClientOptions): Watch[NodeList]
Creates
Watchto monitoring the list of available nodes.Creates
Watchto monitoring the list of available nodes. This maps to the /v1/catalog/nodes API internally. * @param vertx theVertxinstance- options
the options to create underlying Consul client see ConsulClientOptions
- returns
the
Watchinstance
-
def
nodes(vertx: Vertx): Watch[NodeList]
Creates
Watchto monitoring the list of available nodes.Creates
Watchto monitoring the list of available nodes. The underlying Consul client will be created with default options. This maps to the /v1/catalog/nodes API internally. * @param vertx theVertxinstance- returns
the
Watchinstance
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
service(service: String, vertx: Vertx, options: ConsulClientOptions): Watch[ServiceEntryList]
Creates
Watchto monitoring the nodes providing the service.Creates
Watchto monitoring the nodes providing the service. Nodes will be sorted by distance from the consul agent. This maps to the /v1/health/service/<service> API internally. * @param service the service name- vertx
the
Vertxinstance- options
the options to create underlying Consul client see ConsulClientOptions
- returns
the
Watchinstance
-
def
service(service: String, vertx: Vertx): Watch[ServiceEntryList]
Creates
Watchto monitoring the nodes providing the service.Creates
Watchto monitoring the nodes providing the service. Nodes will be sorted by distance from the consul agent. The underlying Consul client will be created with default options. This maps to the /v1/health/service/<service> API internally. * @param service the service name- vertx
the
Vertxinstance- returns
the
Watchinstance
-
def
services(vertx: Vertx, options: ConsulClientOptions): Watch[ServiceList]
Creates
Watchto monitoring the list of available services.Creates
Watchto monitoring the list of available services. This maps to the /v1/catalog/services API internally. * @param vertx theVertxinstance- options
the options to create underlying Consul client see ConsulClientOptions
- returns
the
Watchinstance
-
def
services(vertx: Vertx): Watch[ServiceList]
Creates
Watchto monitoring the list of available services.Creates
Watchto monitoring the list of available services. The underlying Consul client will be created with default options. This maps to the /v1/catalog/services API internally. * @param vertx theVertxinstance- returns
the
Watchinstance
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )