vertx / io.vertx.kotlin.ext.consul / Session

Session

fun Session(checks: Iterable<String>? = null, createIndex: Long? = null, id: String? = null, index: Long? = null, lockDelay: Long? = null, node: String? = null): Session

A function providing a DSL for building io.vertx.ext.consul.Session objects.

Holds properties of Consul sessions

Parameters

checks - Set the list of associated health checks

createIndex - Set the create index of session

id - Set the ID of node

index - Set Consul index

lockDelay - Set the Lock delay of session

node - Set the ID of node