Class: VertxConsul::ConsulClient

Inherits:
Object
  • Object
show all
Defined in:
/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb

Direct Known Subclasses

ConsulService

Constant Summary

@@j_api_type =
Object.new

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Boolean) accept?(obj)

Returns:

  • (Boolean)

17
18
19
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 17

def @@j_api_type.accept?(obj)
  obj.class == ConsulClient
end

+ (::VertxConsul::ConsulClient) create(vertx = nil, options = nil)

Parameters:

  • vertx (::Vertx::Vertx) (defaults to: nil)
  • options (Hash) (defaults to: nil)

Returns:

Raises:

  • (ArgumentError)

35
36
37
38
39
40
41
42
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 35

def self.create(vertx=nil,options=nil)
  if vertx.class.method_defined?(:j_del) && !block_given? && options == nil
    return ::Vertx::Util::Utils.safe_create(Java::IoVertxExtConsul::ConsulClient.java_method(:create, [Java::IoVertxCore::Vertx.java_class]).call(vertx.j_del),::VertxConsul::ConsulClient)
  elsif vertx.class.method_defined?(:j_del) && options.class == Hash && !block_given?
    return ::Vertx::Util::Utils.safe_create(Java::IoVertxExtConsul::ConsulClient.java_method(:create, [Java::IoVertxCore::Vertx.java_class,Java::IoVertxExtConsul::ConsulClientOptions.java_class]).call(vertx.j_del,Java::IoVertxExtConsul::ConsulClientOptions.new(::Vertx::Util::Utils.to_json_object(options))),::VertxConsul::ConsulClient)
  end
  raise ArgumentError, "Invalid arguments when calling create(#{vertx},#{options})"
end

+ (Object) j_api_type


26
27
28
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 26

def self.j_api_type
  @@j_api_type
end

+ (Object) j_class


29
30
31
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 29

def self.j_class
  Java::IoVertxExtConsul::ConsulClient.java_class
end

+ (Object) unwrap(obj)


23
24
25
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 23

def @@j_api_type.unwrap(obj)
  obj.j_del
end

+ (Object) wrap(obj)


20
21
22
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 20

def @@j_api_type.wrap(obj)
  ConsulClient.new(obj)
end

Instance Method Details

- (self) agent_info { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

45
46
47
48
49
50
51
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 45

def agent_info
  if block_given?
    @j_del.java_method(:agentInfo, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling agent_info()"
end

- (self) catalog_datacenters { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

348
349
350
351
352
353
354
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 348

def catalog_datacenters
  if block_given?
    @j_del.java_method(:catalogDatacenters, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_datacenters()"
end

- (self) catalog_node_services(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

461
462
463
464
465
466
467
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 461

def catalog_node_services(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:catalogNodeServices, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_node_services(#{arg0})"
end

- (self) catalog_node_services_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

472
473
474
475
476
477
478
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 472

def catalog_node_services_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:catalogNodeServicesWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_node_services_with_options(#{arg0},#{arg1})"
end

- (self) catalog_nodes { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

357
358
359
360
361
362
363
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 357

def catalog_nodes
  if block_given?
    @j_del.java_method(:catalogNodes, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_nodes()"
end

- (self) catalog_nodes_with_options(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

367
368
369
370
371
372
373
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 367

def catalog_nodes_with_options(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:catalogNodesWithOptions, [Java::IoVertxExtConsul::NodeQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::NodeQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_nodes_with_options(#{arg0})"
end

- (self) catalog_service_nodes(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

328
329
330
331
332
333
334
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 328

def catalog_service_nodes(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:catalogServiceNodes, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_service_nodes(#{arg0})"
end

- (self) catalog_service_nodes_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

339
340
341
342
343
344
345
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 339

def catalog_service_nodes_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:catalogServiceNodesWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::ServiceQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::ServiceQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_service_nodes_with_options(#{arg0},#{arg1})"
end

- (self) catalog_services { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

441
442
443
444
445
446
447
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 441

def catalog_services
  if block_given?
    @j_del.java_method(:catalogServices, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_services()"
end

- (self) catalog_services_with_options(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

451
452
453
454
455
456
457
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 451

def catalog_services_with_options(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:catalogServicesWithOptions, [Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling catalog_services_with_options(#{arg0})"
end

- (self) clone_acl_token(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

219
220
221
222
223
224
225
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 219

def clone_acl_token(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:cloneAclToken, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling clone_acl_token(#{arg0})"
end

- (void) close

This method returns an undefined value.

Raises:

  • (ArgumentError)

792
793
794
795
796
797
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 792

def close
  if !block_given?
    return @j_del.java_method(:close, []).call()
  end
  raise ArgumentError, "Invalid arguments when calling close()"
end

- (self) coordinate_datacenters { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

73
74
75
76
77
78
79
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 73

def coordinate_datacenters
  if block_given?
    @j_del.java_method(:coordinateDatacenters, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt != nil ? JSON.parse(elt.toJson.encode) : nil } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling coordinate_datacenters()"
end

- (self) coordinate_nodes { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

54
55
56
57
58
59
60
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 54

def coordinate_nodes
  if block_given?
    @j_del.java_method(:coordinateNodes, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling coordinate_nodes()"
end

- (self) coordinate_nodes_with_options(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

64
65
66
67
68
69
70
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 64

def coordinate_nodes_with_options(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:coordinateNodesWithOptions, [Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling coordinate_nodes_with_options(#{arg0})"
end

- (self) create_acl_token(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

199
200
201
202
203
204
205
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 199

def create_acl_token(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:createAclToken, [Java::IoVertxExtConsul::AclToken.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::AclToken.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling create_acl_token(#{arg0})"
end

- (self) create_prepared_query(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

724
725
726
727
728
729
730
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 724

def create_prepared_query(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:createPreparedQuery, [Java::IoVertxExtConsul::PreparedQueryDefinition.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::PreparedQueryDefinition.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling create_prepared_query(#{arg0})"
end

- (self) create_session { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

623
624
625
626
627
628
629
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 623

def create_session
  if block_given?
    @j_del.java_method(:createSession, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling create_session()"
end

- (self) create_session_with_options(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

633
634
635
636
637
638
639
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 633

def create_session_with_options(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:createSessionWithOptions, [Java::IoVertxExtConsul::SessionOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::SessionOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling create_session_with_options(#{arg0})"
end

- (self) delete_prepared_query(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

763
764
765
766
767
768
769
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 763

def delete_prepared_query(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:deletePreparedQuery, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling delete_prepared_query(#{arg0})"
end

- (self) delete_value(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

125
126
127
128
129
130
131
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 125

def delete_value(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:deleteValue, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling delete_value(#{arg0})"
end

- (self) delete_values(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

156
157
158
159
160
161
162
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 156

def delete_values(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:deleteValues, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling delete_values(#{arg0})"
end

- (self) deregister_check(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

510
511
512
513
514
515
516
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 510

def deregister_check(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:deregisterCheck, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling deregister_check(#{arg0})"
end

- (self) deregister_service(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

318
319
320
321
322
323
324
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 318

def deregister_service(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:deregisterService, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling deregister_service(#{arg0})"
end

- (self) destroy_acl_token(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

248
249
250
251
252
253
254
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 248

def destroy_acl_token(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:destroyAclToken, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling destroy_acl_token(#{arg0})"
end

- (self) destroy_session(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

714
715
716
717
718
719
720
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 714

def destroy_session(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:destroySession, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling destroy_session(#{arg0})"
end

- (self) execute_prepared_query(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

773
774
775
776
777
778
779
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 773

def execute_prepared_query(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:executePreparedQuery, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling execute_prepared_query(#{arg0})"
end

- (self) execute_prepared_query_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

784
785
786
787
788
789
790
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 784

def execute_prepared_query_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:executePreparedQueryWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::PreparedQueryExecuteOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::PreparedQueryExecuteOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling execute_prepared_query_with_options(#{arg0},#{arg1})"
end

- (self) fail_check(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

562
563
564
565
566
567
568
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 562

def fail_check(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:failCheck, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling fail_check(#{arg0})"
end

- (self) fail_check_with_note(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

573
574
575
576
577
578
579
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 573

def fail_check_with_note(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == String && block_given?
    @j_del.java_method(:failCheckWithNote, [Java::java.lang.String.java_class,Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling fail_check_with_note(#{arg0},#{arg1})"
end

- (self) fire_event(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

258
259
260
261
262
263
264
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 258

def fire_event(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:fireEvent, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling fire_event(#{arg0})"
end

- (self) fire_event_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

269
270
271
272
273
274
275
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 269

def fire_event_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:fireEventWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::EventOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::EventOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling fire_event_with_options(#{arg0},#{arg1})"
end

- (self) get_all_prepared_queries { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

743
744
745
746
747
748
749
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 743

def get_all_prepared_queries
  if block_given?
    @j_del.java_method(:getAllPreparedQueries, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt != nil ? JSON.parse(elt.toJson.encode) : nil } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_all_prepared_queries()"
end

- (self) get_keys(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

83
84
85
86
87
88
89
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 83

def get_keys(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:getKeys, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_keys(#{arg0})"
end

- (self) get_keys_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

94
95
96
97
98
99
100
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 94

def get_keys_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:getKeysWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_keys_with_options(#{arg0},#{arg1})"
end

- (self) get_prepared_query(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

734
735
736
737
738
739
740
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 734

def get_prepared_query(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:getPreparedQuery, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_prepared_query(#{arg0})"
end

- (self) get_value(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

104
105
106
107
108
109
110
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 104

def get_value(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:getValue, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_value(#{arg0})"
end

- (self) get_value_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

115
116
117
118
119
120
121
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 115

def get_value_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:getValueWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_value_with_options(#{arg0},#{arg1})"
end

- (self) get_values(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

135
136
137
138
139
140
141
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 135

def get_values(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:getValues, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_values(#{arg0})"
end

- (self) get_values_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

146
147
148
149
150
151
152
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 146

def get_values_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:getValuesWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling get_values_with_options(#{arg0},#{arg1})"
end

- (self) health_checks(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

377
378
379
380
381
382
383
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 377

def health_checks(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:healthChecks, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling health_checks(#{arg0})"
end

- (self) health_checks_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

388
389
390
391
392
393
394
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 388

def health_checks_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:healthChecksWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::CheckQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::CheckQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling health_checks_with_options(#{arg0},#{arg1})"
end

- (self) health_service_nodes(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (true, false) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

420
421
422
423
424
425
426
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 420

def health_service_nodes(arg0=nil,arg1=nil)
  if arg0.class == String && (arg1.class == TrueClass || arg1.class == FalseClass) && block_given?
    @j_del.java_method(:healthServiceNodes, [Java::java.lang.String.java_class,Java::boolean.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling health_service_nodes(#{arg0},#{arg1})"
end

- (self) health_service_nodes_with_options(arg0 = nil, arg1 = nil, arg2 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (true, false) (defaults to: nil)
  • arg2 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

432
433
434
435
436
437
438
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 432

def health_service_nodes_with_options(arg0=nil,arg1=nil,arg2=nil)
  if arg0.class == String && (arg1.class == TrueClass || arg1.class == FalseClass) && arg2.class == Hash && block_given?
    @j_del.java_method(:healthServiceNodesWithOptions, [Java::java.lang.String.java_class,Java::boolean.java_class,Java::IoVertxExtConsul::ServiceQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,Java::IoVertxExtConsul::ServiceQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg2)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling health_service_nodes_with_options(#{arg0},#{arg1},#{arg2})"
end

- (self) health_state(arg0 = nil) { ... }

Parameters:

  • arg0 (:PASSING, :WARNING, :CRITICAL) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

398
399
400
401
402
403
404
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 398

def health_state(arg0=nil)
  if arg0.class == Symbol && block_given?
    @j_del.java_method(:healthState, [Java::IoVertxExtConsul::CheckStatus.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::CheckStatus.valueOf(arg0.to_s),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling health_state(#{arg0})"
end

- (self) health_state_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (:PASSING, :WARNING, :CRITICAL) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

409
410
411
412
413
414
415
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 409

def health_state_with_options(arg0=nil,arg1=nil)
  if arg0.class == Symbol && arg1.class == Hash && block_given?
    @j_del.java_method(:healthStateWithOptions, [Java::IoVertxExtConsul::CheckStatus.java_class,Java::IoVertxExtConsul::CheckQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::CheckStatus.valueOf(arg0.to_s),Java::IoVertxExtConsul::CheckQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling health_state_with_options(#{arg0},#{arg1})"
end

- (self) info_acl_token(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

238
239
240
241
242
243
244
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 238

def info_acl_token(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:infoAclToken, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling info_acl_token(#{arg0})"
end

- (self) info_session(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

643
644
645
646
647
648
649
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 643

def info_session(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:infoSession, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling info_session(#{arg0})"
end

- (self) info_session_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

654
655
656
657
658
659
660
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 654

def info_session_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:infoSessionWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling info_session_with_options(#{arg0},#{arg1})"
end

- (self) leader_status { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

605
606
607
608
609
610
611
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 605

def leader_status
  if block_given?
    @j_del.java_method(:leaderStatus, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling leader_status()"
end

- (self) list_acl_tokens { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

228
229
230
231
232
233
234
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 228

def list_acl_tokens
  if block_given?
    @j_del.java_method(:listAclTokens, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt != nil ? JSON.parse(elt.toJson.encode) : nil } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_acl_tokens()"
end

- (self) list_events { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

278
279
280
281
282
283
284
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 278

def list_events
  if block_given?
    @j_del.java_method(:listEvents, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_events()"
end

- (self) list_events_with_options(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

288
289
290
291
292
293
294
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 288

def list_events_with_options(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:listEventsWithOptions, [Java::IoVertxExtConsul::EventListOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::EventListOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_events_with_options(#{arg0})"
end

- (self) list_node_sessions(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

693
694
695
696
697
698
699
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 693

def list_node_sessions(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:listNodeSessions, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_node_sessions(#{arg0})"
end

- (self) list_node_sessions_with_options(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

704
705
706
707
708
709
710
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 704

def list_node_sessions_with_options(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Hash && block_given?
    @j_del.java_method(:listNodeSessionsWithOptions, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg1)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_node_sessions_with_options(#{arg0},#{arg1})"
end

- (self) list_sessions { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

673
674
675
676
677
678
679
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 673

def list_sessions
  if block_given?
    @j_del.java_method(:listSessions, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_sessions()"
end

- (self) list_sessions_with_options(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

683
684
685
686
687
688
689
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 683

def list_sessions_with_options(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:listSessionsWithOptions, [Java::IoVertxExtConsul::BlockingQueryOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::BlockingQueryOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling list_sessions_with_options(#{arg0})"
end

- (self) local_checks { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

490
491
492
493
494
495
496
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 490

def local_checks
  if block_given?
    @j_del.java_method(:localChecks, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt != nil ? JSON.parse(elt.toJson.encode) : nil } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling local_checks()"
end

- (self) local_services { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

481
482
483
484
485
486
487
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 481

def local_services
  if block_given?
    @j_del.java_method(:localServices, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt != nil ? JSON.parse(elt.toJson.encode) : nil } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling local_services()"
end

- (self) maintenance_service(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

308
309
310
311
312
313
314
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 308

def maintenance_service(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:maintenanceService, [Java::IoVertxExtConsul::MaintenanceOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::MaintenanceOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling maintenance_service(#{arg0})"
end

- (self) pass_check(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

520
521
522
523
524
525
526
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 520

def pass_check(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:passCheck, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling pass_check(#{arg0})"
end

- (self) pass_check_with_note(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

531
532
533
534
535
536
537
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 531

def pass_check_with_note(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == String && block_given?
    @j_del.java_method(:passCheckWithNote, [Java::java.lang.String.java_class,Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling pass_check_with_note(#{arg0},#{arg1})"
end

- (self) peers_status { ... }

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

614
615
616
617
618
619
620
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 614

def peers_status
  if block_given?
    @j_del.java_method(:peersStatus, [Java::IoVertxCore::Handler.java_class]).call((Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result.to_a.map { |elt| elt } : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling peers_status()"
end

- (self) put_value(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

167
168
169
170
171
172
173
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 167

def put_value(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == String && block_given?
    @j_del.java_method(:putValue, [Java::java.lang.String.java_class,Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling put_value(#{arg0},#{arg1})"
end

- (self) put_value_with_options(arg0 = nil, arg1 = nil, arg2 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (String) (defaults to: nil)
  • arg2 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

179
180
181
182
183
184
185
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 179

def put_value_with_options(arg0=nil,arg1=nil,arg2=nil)
  if arg0.class == String && arg1.class == String && arg2.class == Hash && block_given?
    @j_del.java_method(:putValueWithOptions, [Java::java.lang.String.java_class,Java::java.lang.String.java_class,Java::IoVertxExtConsul::KeyValueOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,Java::IoVertxExtConsul::KeyValueOptions.new(::Vertx::Util::Utils.to_json_object(arg2)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling put_value_with_options(#{arg0},#{arg1},#{arg2})"
end

- (self) register_check(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

500
501
502
503
504
505
506
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 500

def register_check(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:registerCheck, [Java::IoVertxExtConsul::CheckOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::CheckOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling register_check(#{arg0})"
end

- (self) register_service(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

298
299
300
301
302
303
304
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 298

def register_service(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:registerService, [Java::IoVertxExtConsul::ServiceOptions.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::ServiceOptions.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling register_service(#{arg0})"
end

- (self) renew_session(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

664
665
666
667
668
669
670
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 664

def renew_session(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:renewSession, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling renew_session(#{arg0})"
end

- (self) transaction(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

189
190
191
192
193
194
195
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 189

def transaction(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:transaction, [Java::IoVertxExtConsul::TxnRequest.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::TxnRequest.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result != nil ? JSON.parse(ar.result.toJson.encode) : nil : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling transaction(#{arg0})"
end

- (self) update_acl_token(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

209
210
211
212
213
214
215
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 209

def update_acl_token(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:updateAclToken, [Java::IoVertxExtConsul::AclToken.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::AclToken.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil, ar.succeeded ? ar.result : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling update_acl_token(#{arg0})"
end

- (self) update_check(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (:PASSING, :WARNING, :CRITICAL) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

584
585
586
587
588
589
590
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 584

def update_check(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == Symbol && block_given?
    @j_del.java_method(:updateCheck, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::CheckStatus.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::CheckStatus.valueOf(arg1.to_s),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling update_check(#{arg0},#{arg1})"
end

- (self) update_check_with_note(arg0 = nil, arg1 = nil, arg2 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (:PASSING, :WARNING, :CRITICAL) (defaults to: nil)
  • arg2 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

596
597
598
599
600
601
602
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 596

def update_check_with_note(arg0=nil,arg1=nil,arg2=nil)
  if arg0.class == String && arg1.class == Symbol && arg2.class == String && block_given?
    @j_del.java_method(:updateCheckWithNote, [Java::java.lang.String.java_class,Java::IoVertxExtConsul::CheckStatus.java_class,Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,Java::IoVertxExtConsul::CheckStatus.valueOf(arg1.to_s),arg2,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling update_check_with_note(#{arg0},#{arg1},#{arg2})"
end

- (self) update_prepared_query(arg0 = nil) { ... }

Parameters:

  • arg0 (Hash) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

753
754
755
756
757
758
759
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 753

def update_prepared_query(arg0=nil)
  if arg0.class == Hash && block_given?
    @j_del.java_method(:updatePreparedQuery, [Java::IoVertxExtConsul::PreparedQueryDefinition.java_class,Java::IoVertxCore::Handler.java_class]).call(Java::IoVertxExtConsul::PreparedQueryDefinition.new(::Vertx::Util::Utils.to_json_object(arg0)),(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling update_prepared_query(#{arg0})"
end

- (self) warn_check(arg0 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

541
542
543
544
545
546
547
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 541

def warn_check(arg0=nil)
  if arg0.class == String && block_given?
    @j_del.java_method(:warnCheck, [Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling warn_check(#{arg0})"
end

- (self) warn_check_with_note(arg0 = nil, arg1 = nil) { ... }

Parameters:

  • arg0 (String) (defaults to: nil)
  • arg1 (String) (defaults to: nil)

Yields:

Returns:

  • (self)

Raises:

  • (ArgumentError)

552
553
554
555
556
557
558
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/consul_client.rb', line 552

def warn_check_with_note(arg0=nil,arg1=nil)
  if arg0.class == String && arg1.class == String && block_given?
    @j_del.java_method(:warnCheckWithNote, [Java::java.lang.String.java_class,Java::java.lang.String.java_class,Java::IoVertxCore::Handler.java_class]).call(arg0,arg1,(Proc.new { |ar| yield(ar.failed ? ar.cause : nil) }))
    return self
  end
  raise ArgumentError, "Invalid arguments when calling warn_check_with_note(#{arg0},#{arg1})"
end