vertx-lang-scala-docs_2.12 3.7.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package consul
  Definition Classes
    ext
- AclToken
- BlockingQueryOptions
- Check
- CheckList
- CheckOptions
- CheckQueryOptions
- ConsulClient
- ConsulClientOptions
- ConsulService
- Coordinate
- CoordinateList
- DcCoordinates
- Event
- EventList
- EventListOptions
- EventOptions
- KeyValue
- KeyValueList
- KeyValueOptions
- MaintenanceOptions
- Node
- NodeList
- NodeQueryOptions
- PreparedQueryDefinition
- PreparedQueryExecuteOptions
- PreparedQueryExecuteResponse
- Service
- ServiceEntry
- ServiceEntryList
- ServiceList
- ServiceOptions
- ServiceQueryOptions
- Session
- SessionList
- SessionOptions
- TxnError
- TxnKVOperation
- TxnRequest
- TxnResponse
- Watch
- WatchResult

o

io.vertx.scala.ext.consul

# Watch 

###
Companion class Watch

#### object Watch

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Watch
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def apply[T](asJava: ext.consul.Watch[_])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Watch[T]
5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def events(event: String, vertx: Vertx, options: ConsulClientOptions): Watch[EventList]

   Creates `Watch` to monitoring the custom user events.

   Creates `Watch` to monitoring the custom user events. This maps to the /v1/event/list API internally. * @param event the event name

   vertx

     the `Vertx` instance

   options

     the options to create underlying Consul client see ConsulClientOptions

   returns

     the `Watch` instance

10.  def events(event: String, vertx: Vertx): Watch[EventList]

    Creates `Watch` to monitoring the custom user events.

    Creates `Watch` to 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 `Vertx` instance

    returns

      the `Watch` instance

11.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
12.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
13.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  def key(key: String, vertx: Vertx, options: ConsulClientOptions): Watch[KeyValue]

    Creates `Watch` to monitoring a specific key in the KV store.

    Creates `Watch` to monitoring a specific key in the KV store. This maps to the /v1/kv/ API internally. * @param key the key

    vertx

      the `Vertx` instance

    options

      the options to create underlying Consul client see ConsulClientOptions

    returns

      the `Watch` instance

16.  def key(key: String, vertx: Vertx): Watch[KeyValue]

    Creates `Watch` to monitoring a specific key in the KV store.

    Creates `Watch` to 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 `Vertx` instance

    returns

      the `Watch` instance

17.  def keyPrefix(keyPrefix: String, vertx: Vertx, options: ConsulClientOptions): Watch[KeyValueList]

    Creates `Watch` to monitoring a prefix of keys in the KV store.

    Creates `Watch` to monitoring a prefix of keys in the KV store. This maps to the /v1/kv/ API internally. * @param keyPrefix the key

    vertx

      the `Vertx` instance

    options

      the options to create underlying Consul client see ConsulClientOptions

    returns

      the `Watch` instance

18.  def keyPrefix(keyPrefix: String, vertx: Vertx): Watch[KeyValueList]

    Creates `Watch` to monitoring a prefix of keys in the KV store.

    Creates `Watch` to 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 `Vertx` instance

    returns

      the `Watch` instance

19.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def nodes(vertx: Vertx, options: ConsulClientOptions): Watch[NodeList]

    Creates `Watch` to monitoring the list of available nodes.

    Creates `Watch` to monitoring the list of available nodes. This maps to the /v1/catalog/nodes API internally. * @param vertx the `Vertx` instance

    options

      the options to create underlying Consul client see ConsulClientOptions

    returns

      the `Watch` instance

21.  def nodes(vertx: Vertx): Watch[NodeList]

    Creates `Watch` to monitoring the list of available nodes.

    Creates `Watch` to 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 the `Vertx` instance

    returns

      the `Watch` instance

22.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
23.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
24.  def service(service: String, vertx: Vertx, options: ConsulClientOptions): Watch[ServiceEntryList]

    Creates `Watch` to monitoring the nodes providing the service.

    Creates `Watch` to monitoring the nodes providing the service. This maps to the /v1/health/service/<service> API internally. * @param service the service name

    vertx

      the `Vertx` instance

    options

      the options to create underlying Consul client see ConsulClientOptions

    returns

      the `Watch` instance

25.  def service(service: String, vertx: Vertx): Watch[ServiceEntryList]

    Creates `Watch` to monitoring the nodes providing the service.

    Creates `Watch` to monitoring the nodes providing the service. 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 `Vertx` instance

    returns

      the `Watch` instance

26.  def services(vertx: Vertx, options: ConsulClientOptions): Watch[ServiceList]

    Creates `Watch` to monitoring the list of available services.

    Creates `Watch` to monitoring the list of available services. This maps to the /v1/catalog/services API internally. * @param vertx the `Vertx` instance

    options

      the options to create underlying Consul client see ConsulClientOptions

    returns

      the `Watch` instance

27.  def services(vertx: Vertx): Watch[ServiceList]

    Creates `Watch` to monitoring the list of available services.

    Creates `Watch` to 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 the `Vertx` instance

    returns

      the `Watch` instance

28.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
29.  def toString(): String
    Definition Classes
      AnyRef → Any
30.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
31.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
32.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped