Set or unset an handler to be called when a the channel is notified by Postgres. +
Set or unset an handler to be called when a the channel is notified by Postgres.
Pause the channel, all notifications are discarded.
+Pause the channel, all notifications are discarded.
Resume the channel.
+Resume the channel.
Set an handler called when the the channel get subscribed.
+Set an handler called when the the channel get subscribed.
Prepare and execute a createBatch.
+Prepare and execute a createBatch.
Prepare and execute a query.
+Prepare and execute a query.
Prepare and execute a query.
+Prepare and execute a query.
Execute a simple query.
+Execute a simple query.
Connects to the database and returns the connection if that succeeds. +
Connects to the database and returns the connection if that succeeds.
The connection interracts directly with the database is not a proxy, so closing the connection will close the underlying connection to the database. @@ -364,17 +387,20 @@Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from the environment variables.
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from the environment variables.
Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from {@code connectionUri}.
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from {@code connectionUri}.
Like {@link #pool(PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(PgPoolOptions)} with options build from the environment variables.
Like {@link #pool(PgPoolOptions)} with options build from {@code connectionUri}.
+Like {@link #pool(PgPoolOptions)} with options build from {@code connectionUri}.
Like {@link #pool(Vertx, PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from the environment variables.
Like {@link #pool(Vertx, PgPoolOptions)} with options build from {@code connectionUri}.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from {@code connectionUri}.
Create a connection pool to the database configured with the given {@code options}.
+Create a connection pool to the database configured with the given {@code options}.
Like {@link #pool(PgPoolOptions)} with a specific {@link Vertx} instance.
+Like {@link #pool(PgPoolOptions)} with a specific {@link Vertx} instance.
Begin a transaction and returns a PgTransaction for controlling and tracking +
Begin a transaction and returns a PgTransaction for controlling and tracking this transaction.
When the connection is explicitely closed, any inflight transaction is rollbacked. @@ -132,12 +139,12 @@Close the current connection after all the pending commands have been processed.
+Close the current connection after all the pending commands have been processed.
Set an handler called when the connection is closed.
+Set an handler called when the connection is closed.
Set an handler called with connection errors.
+Set an handler called with connection errors.
Set an handler called when the connection receives notification on a channel. +
Set an handler called when the connection receives notification on a channel.
The handler is called with the PgNotification and has access to the channel name and the notification payload. @@ -295,17 +308,20 @@Create a prepared query.
+Create a prepared query.
Connects to the database and returns the connection if that succeeds. +
+ The connection interracts directly with the database is not a proxy, so closing the + connection will close the underlying connection to the database. +the vertx instance
+the connect options
+the handler called with the connection or the failure
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from the environment variables.
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from {@code connectionUri}.
+Like {@link #pool(PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(PgPoolOptions)} with options build from {@code connectionUri}.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from {@code connectionUri}.
+Create a connection pool to the database configured with the given {@code options}.
+the options for creating the pool
+the connection pool
+Like {@link #pool(PgPoolOptions)} with a specific {@link Vertx} instance.
+Release the cursor. +
Release the cursor.
It should be called for prepared queries executed with a fetch size.Like {@link #close()} but with a {@code completionHandler} called when the cursor has been released.
+Like {@link #close()} but with a {@code completionHandler} called when the cursor has been released.
Returns {@code true} when the cursor has results in progress and the {@link #execute} should be called to retrieve +
Returns {@code true} when the cursor has results in progress and the {@link #execute} should be called to retrieve them.
Read rows from the cursor, the result is provided asynchronously to the {@code handler}.
+Read rows from the cursor, the result is provided asynchronously to the {@code handler}.
Set the channel value.
-Set the payload value.
-Set the channel value.
+a reference to this, so the API can be used fluently
+Set the process id.
-Set the payload value.
+a reference to this, so the API can be used fluently
+Set the process id.
+a reference to this, so the API can be used fluently
+Set the channel value.
+a reference to this, so the API can be used fluently
+Set the payload value.
+a reference to this, so the API can be used fluently
+Set the process id.
+a reference to this, so the API can be used fluently
+Borrow a connection from the pool and begin a transaction, the underlying connection will be returned +
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned to the pool when the transaction ends.
Close the pool and release the associated resources.
+Close the pool and release the associated resources.
Get a connection from the pool.
+Get a connection from the pool.
Connects to the database and returns the connection if that succeeds. +
+ The connection interracts directly with the database is not a proxy, so closing the + connection will close the underlying connection to the database. +the vertx instance
+the connect options
+the handler called with the connection or the failure
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from the environment variables.
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from {@code connectionUri}.
+Like {@link #pool(PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(PgPoolOptions)} with options build from {@code connectionUri}.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from {@code connectionUri}.
+Create a connection pool to the database configured with the given {@code options}.
+the options for creating the pool
+the connection pool
+Like {@link #pool(PgPoolOptions)} with a specific {@link Vertx} instance.
+Set the maximum pool size
+a reference to this, so the API can be used fluently
+Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in + an failure. If the value is set to a negative number then the queue will be unbounded.
+a reference to this, so the API can be used fluently
+Set the maximum pool size
-Set the maximum pool size
+the maximum pool size
+a reference to this, so the API can be used fluently
+Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in - an failure. If the value is set to a negative number then the queue will be unbounded.
-Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in + an failure. If the value is set to a negative number then the queue will be unbounded.
+the maximum number of waiting requests
+a reference to this, so the API can be used fluently
+Execute a batch.
+Execute a batch.
Close the prepared query and release its resources.
+Close the prepared query and release its resources.
Like {@link #close()} but notifies the {@code completionHandler} when it's closed.
+Like {@link #close()} but notifies the {@code completionHandler} when it's closed.
Execute the prepared query with a cursor and createStream the result. The createStream opens a cursor +
Execute the prepared query with a cursor and createStream the result. The createStream opens a cursor with a {@code fetch} size to fetch the results.
Note: this requires to be in a transaction, since cursors require it. @@ -240,7 +246,7 @@the createStream
@@ -256,7 +262,7 @@Create a cursor with the provided {@code arguments}.
+Create a cursor with the provided {@code arguments}.
Calls {@link #execute(Tuple, Handler)} with an empty tuple argument.
+Calls {@link #execute(Tuple, Handler)} with an empty tuple argument.
Create a cursor with the provided {@code arguments}.
+Create a cursor with the provided {@code arguments}.
Get the names of columns in the PgResult.
+Get the names of columns in the PgResult.
Return the next available result or {@code null}, e.g for a simple query that executed multiple queries or for +
Return the next available result or {@code null}, e.g for a simple query that executed multiple queries or for a batch result.
the next available result or {@code null} if none is available
Get the number of the affected rows in the operation to this PgResult. +
Get the number of the affected rows in the operation to this PgResult.
The meaning depends on the executed statement:Get the number of rows in the PgResult.
+Get the number of rows in the PgResult.
Get the result value.
+Get the result value.
the result
Get the names of columns in the PgResult.
+the list of names of columns.
+Get the number of the affected rows in the operation to this PgResult. +
+ The meaning depends on the executed statement: +the count of affected rows.
+Get the number of rows in the PgResult.
+the count of rows.
+Get the result value.
+Get the result value.
Close the stream and release the resources.
+Close the stream and release the resources.
Close the stream and release the resources.
+Close the stream and release the resources.
Return a channel for the given {@code name}.
+Return a channel for the given {@code name}.
Close the subscriber, the retry policy will not be invoked.
+Close the subscriber, the retry policy will not be invoked.
Set an handler called when the subscriber is closed.
+Set an handler called when the subscriber is closed.
Connect the subscriber to Postgres.
+Connect the subscriber to Postgres.
Set the reconnect policy that is executed when the subscriber is disconnected. +
Set the reconnect policy that is executed when the subscriber is disconnected.
When the subscriber is disconnected, the {@code policy} function is called with the actual number of retries and returns an {@code amountOfTime} value: @@ -343,14 +349,14 @@Create a subscriber.
+Create a subscriber.
Set an handler to be called when the transaction is aborted.
+Set an handler to be called when the transaction is aborted.
Commit the current transaction.
+Commit the current transaction.
Like {@link #commit} with an handler to be notified when the transaction commit has completed
+Like {@link #commit} with an handler to be notified when the transaction commit has completed
Create a prepared query.
+the sql
+the handler notified with the prepared query asynchronously
+Rollback the current transaction.
+Rollback the current transaction.
Like {@link #rollback} with an handler to be notified when the transaction rollback has completed
+Like {@link #rollback} with an handler to be notified when the transaction rollback has completed
Connects to the database and returns the connection if that succeeds. +
+ The connection interracts directly with the database is not a proxy, so closing the + connection will close the underlying connection to the database. +the vertx instance
+the connect options
+the handler called with the connection or the failure
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from the environment variables.
+Like {@link #connect(Vertx, PgConnectOptions, Handler)} with options build from {@code connectionUri}.
+Like {@link #pool(PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(PgPoolOptions)} with options build from {@code connectionUri}.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from the environment variables.
+Like {@link #pool(Vertx, PgPoolOptions)} with options build from {@code connectionUri}.
+Create a connection pool to the database configured with the given {@code options}.
+the options for creating the pool
+the connection pool
+Like {@link #pool(PgPoolOptions)} with a specific {@link Vertx} instance.
+Add a boolean value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add a buffer value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add a double value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add a float value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add an integer value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add a long value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add a short value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add a string value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Add an object value at the end of the tuple.
+the value
+a reference to this, so the API can be used fluently
+Get a boolean value at {@code pos}.
+Get a boolean value at {@code pos}.
Get a buffer value at {@code pos}.
+Get a buffer value at {@code pos}.
Get a column name at {@code pos}.
+Get a column name at {@code pos}.
Get a double value at {@code pos}.
+Get a double value at {@code pos}.
Get a float value at {@code pos}.
+Get a float value at {@code pos}.
Get an integer value at {@code pos}.
+Get an integer value at {@code pos}.
Get a json value at {@code pos}.
+Get a json value at {@code pos}.
Get a long value at {@code pos}.
+Get a long value at {@code pos}.
Get a short value at {@code pos}.
+Get a short value at {@code pos}.
Get a string value at {@code pos}.
+Get a string value at {@code pos}.
Get an object value at {@code pos}.
+Get an object value at {@code pos}.
the value or {@code null}
+the tuple size
+Create a tuple of one element.
+the first value
+the tuple
+Create a tuple of two elements.
+the first value
+the second value
+the tuple
+Create a tuple of three elements.
+the first value
+the second value
+the third value
+the tuple
+Create a tuple of four elements.
+the first value
+the second value
+the third value
+the fourth value
+the tuple
+Create a tuple of five elements.
+the first value
+the second value
+the third value
+the fourth value
+the fifth value
+the tuple
+Create a tuple of six elements.
+the first value
+the second value
+the third value
+the fourth value
+the fifth value
+the sixth value
+the tuple
+a new empty tuple
+the value or {@code null}
@@ -777,7 +782,7 @@Create a tuple of one element.
+Create a tuple of one element.
Create a tuple of two elements.
+Create a tuple of two elements.
Create a tuple of three elements.
+Create a tuple of three elements.
Create a tuple of four elements.
+Create a tuple of four elements.
Create a tuple of five elements.
+Create a tuple of five elements.
Create a tuple of six elements.
+Create a tuple of six elements.
Shuts the bridge down, closing the underlying connection.
+Shuts the bridge down, closing the underlying connection.
Creates a consumer on the given AMQP address.
+Creates a consumer on the given AMQP address.
This method MUST be called from the bridge Context thread, as used in the result handler callback from the start methods. The bridge MUST be successfully started before the method is called.
@@ -168,6 +171,12 @@the consumer
Creates a producer to the given AMQP address.
+Creates a producer to the given AMQP address.
This method MUST be called from the bridge Context thread, as used in the result handler callback from the start methods. The bridge MUST be successfully started before the method is called.
@@ -209,6 +218,12 @@the producer
@@ -233,12 +248,12 @@Set an end handler. This will fire if the underlying connection is unexpectedly disconnected or remotely closed.
+Set an end handler. This will fire if the underlying connection is unexpectedly disconnected or remotely closed.
Starts the bridge, establishing the underlying connection.
+Starts the bridge, establishing the underlying connection.
the host name to connect to
+ the host name to connect to
Starts the bridge, establishing the underlying connection.
+Starts the bridge, establishing the underlying connection.
the host name to connect to
+ the host name to connect to
Creates a Bridge.
+Creates a Bridge.
Creates a Bridge with the given options.
+Creates a Bridge with the given options.
Sets the value to use as the container-id field in the AMQP Open frame. Some servers and clients use this for the - concept of a 'Client ID'. Defaults to null, which indicates a value will be generated by the bridge when the - underlying connection is made.
-Sets the value to use as the container-id field in the AMQP Open frame. Some servers and clients use this for the + concept of a 'Client ID'. Defaults to null, which indicates a value will be generated by the bridge when the + underlying connection is made.
+the options
+Sets the value to use as the hostname field in the AMQP Open frame. Defaults to null, which indicates the hostname + value given when starting the bridge will be used to populate the hostname field.
+the options
+Sets whether the bridge should try to enable support for sending messages with a reply handler set, and replying to + messages using the message reply methods. Defaults to true. If the server does not advertise support for + 'anonymous sender' links then the bridge won't support reply handling regardless of this setting.
+the options
+Sets the value to use as the container-id field in the AMQP Open frame. Some servers and clients use this for the + concept of a 'Client ID'. Defaults to null, which indicates a value will be generated by the bridge when the + underlying connection is made.
+the container-id to use
+the options
+Sets whether the bridge should try to enable support for sending messages with a reply handler set, and replying to - messages using the message reply methods. Defaults to true. If the server does not advertise support for - 'anonymous sender' links then the bridge won't support reply handling regardless of this setting.
-Sets whether the bridge should try to enable support for sending messages with a reply handler set, and replying to + messages using the message reply methods. Defaults to true. If the server does not advertise support for + 'anonymous sender' links then the bridge won't support reply handling regardless of this setting.
+should attempt be made to enable support for sending messages with a reply handler
+the options
+Sets the value to use as the hostname field in the AMQP Open frame. Defaults to null, which indicates the hostname - value given when starting the bridge will be used to populate the hostname field.
-Sets the value to use as the hostname field in the AMQP Open frame. Defaults to null, which indicates the hostname + value given when starting the bridge will be used to populate the hostname field.
+the value to use as the hostname field in the AMQP Open frame to indicate a vhost.
+the options
+Set the ordered option
-Set the write option
-Authenticate a user. +
Authenticate a user.
The first argument is a JSON object containing information for authenticating the user. What this actually contains depends on the specific implementation. In the case of a simple username/password based @@ -126,6 +131,11 @@
The auth information
Appends a auth provider to the chain.
+Appends a auth provider to the chain.
Authenticate a user. +
+ The first argument is a JSON object containing information for authenticating the user. What this actually contains + depends on the specific implementation. In the case of a simple username/password based + authentication it is likely to contain a JSON object with the following structure: +
+ { + "username": "tim", + "password": "mypassword" + } ++ For other types of authentication it contain different information - for example a JWT token or OAuth bearer token. +
+ If the user is successfully authenticated a User object is passed to the handler in an {@link io.vertx.core.AsyncResult}. + The user object can then be used for authorisation.
+The auth information
+The result handler
+Clears the chain.
+Clears the chain.
Removes a provider from the chain.
+Removes a provider from the chain.
Create a Chainable Auth Provider auth provider
+Create a Chainable Auth Provider auth provider
Get any generated keys
-return the symbolic name for the algorithm
+short id e.g.: sha512.
+Get the number of rows updated
-Should the encoded string use the default separator to split fields.
+true by default.
+return the list of param names required for this algorithm.
+set of param names.
+Get an algorithm interface by its Id
+the algorithm id
+the algorithm
+Hashes a password.
+the algorithm id
+the algorithm specific paramters
+the given salt
+the given password
+the hashed string
+Put or replace an algorithm into the list of system loaded algorithms.
+the algorithm id
+the implementation
+self
+Time constant password check. Regardless of the check, this algorithm executes the same number of + checks regardless of the correctly number of characters
+the hash to verify
+the password to test against
+boolean
+Factory method to load the algorithms from the system
+a Hashing Strategy capable of hashing using the available algorithms
+Generated using TypeDoc
+The User object will cache any authorities that it knows it has to avoid hitting the +
The User object will cache any authorities that it knows it has to avoid hitting the underlying auth provider each time. Use this method if you want to clear this cache.
Is the user authorised to
+Is the user authorised to
Get the underlying principal for the User. What this actually returns depends on the implementation. +
Get the underlying principal for the User. What this actually returns depends on the implementation. For a simple user/password based auth, it's likely to contain a JSON object with the following structure:
{ @@ -251,6 +257,11 @@principal
JSON representation of the Principal
+Set the auth provider for the User. This is typically used to reattach a detached User with an AuthProvider, e.g. +
Set the auth provider for the User. This is typically used to reattach a detached User with an AuthProvider, e.g. after it has been deserialized.
Returns a secure random int
+Returns a secure random int
random int.
Returns a secure random int, between 0 (inclusive) and the specified bound (exclusive).
+the upper bound (exclusive), which must be positive.
+random int.
+Returns a Base64 mime encoded String of random data with the given length. The length parameter refers to the length +
Returns a Base64 mime encoded String of random data with the given length. The length parameter refers to the length of the String before the encoding step.
Get or create a secure non blocking random number generator using the current vert.x context. If there is no +
Get or create a secure non blocking random number generator using the current vert.x context. If there is no current context (i.e.: not running on the eventloop) then a {@link java.lang.IllegalStateException} is thrown.
Return the currently used realm
+Return the currently used realm
Creates an instance of HtdigestAuth.
+Creates an instance of HtdigestAuth.
Creates an instance of HtdigestAuth by using the given htfile file.
+Creates an instance of HtdigestAuth by using the given htfile file.
Compute the hashed password given the unhashed password and the salt without nonce
+Compute the hashed password given the unhashed password and the salt without nonce
The implementation relays to the JDBCHashStrategy provided.
Compute the hashed password given the unhashed password and the salt
+Compute the hashed password given the unhashed password and the salt
The implementation relays to the JDBCHashStrategy provided.
Compute a salt string.
+Compute a salt string.
The implementation relays to the JDBCHashStrategy provided.
Set the authentication query to use. Use this if you want to override the default authentication query.
+Set the authentication query to use. Use this if you want to override the default authentication query.
Provide a application configuration level on hash nonce's as a ordered list of +
Provide a application configuration level on hash nonce's as a ordered list of nonces where each position corresponds to a version.
The nonces are supposed not to be stored in the underlying jdbc storage but to @@ -275,12 +280,12 @@
Set the permissions query to use. Use this if you want to override the default permissions query.
+Set the permissions query to use. Use this if you want to override the default permissions query.
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
+Set the role prefix to distinguish from permissions when checking for isPermitted requests.
Set the roles query to use. Use this if you want to override the default roles query.
+Set the roles query to use. Use this if you want to override the default roles query.
Create a JDBC auth provider implementation
+Create a JDBC auth provider implementation
Set the authentication query to use. Use this if you want to override the default authentication query.
-The configuration of the JDBC client: refer to the Vert.x JDBC Client configuration.
-Set the authentication query to use. Use this if you want to override the default authentication query.
+a reference to this, so the API can be used fluently
+Set the data source name to use, only use in shared mode.
-The configuration of the JDBC client: refer to the Vert.x JDBC Client configuration.
+a reference to this, so the API can be used fluently
+Set the permissions query to use. Use this if you want to override the default permissions query.
-Set the data source name to use, only use in shared mode.
+a reference to this, so the API can be used fluently
+Set the role prefix to distinguish from permissions when checking for isPermitted requests.
-Set the permissions query to use. Use this if you want to override the default permissions query.
+a reference to this, so the API can be used fluently
+Set the roles query to use. Use this if you want to override the default roles query.
-Set the role prefix to distinguish from permissions when checking for isPermitted requests.
+a reference to this, so the API can be used fluently
+Set whether the JDBC client is shared or non shared.
-Set the roles query to use. Use this if you want to override the default roles query.
+a reference to this, so the API can be used fluently
+Set whether the JDBC client is shared or non shared.
+a reference to this, so the API can be used fluently
+Set the authentication query to use. Use this if you want to override the default authentication query.
+the authentication query
+a reference to this, so the API can be used fluently
+The configuration of the JDBC client: refer to the Vert.x JDBC Client configuration.
+a reference to this, so the API can be used fluently
+Set the data source name to use, only use in shared mode.
+the data source name
+a reference to this, so the API can be used fluently
+Set the permissions query to use. Use this if you want to override the default permissions query.
+the permissions query
+a reference to this, so the API can be used fluently
+Set the role prefix to distinguish from permissions when checking for isPermitted requests.
+roles prefix
+a reference to this, so the API can be used fluently
+Set the roles query to use. Use this if you want to override the default roles query.
+the roles query
+a reference to this, so the API can be used fluently
+Set whether the JDBC client is shared or non shared.
+the sharing mode
+a reference to this, so the API can be used fluently
+Compute the hashed password given the unhashed password and the salt
+Compute the hashed password given the unhashed password and the salt
Compute a random salt.
+Compute a random salt.
Retrieve the hashed password from the result of the authentication query
+Retrieve the hashed password from the result of the authentication query
Retrieve the salt from the result of the authentication query
+Retrieve the salt from the result of the authentication query
Sets a ordered list of nonces where each position corresponds to a version.
+Sets a ordered list of nonces where each position corresponds to a version.
The nonces are supposed not to be stored in the underlying jdbc storage but to be provided as a application configuration. The idea is to add one extra variable @@ -274,12 +274,12 @@
Implements a Hashing Strategy as per https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet (2018-01-17).
+Implements a Hashing Strategy as per https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet (2018-01-17).
New deployments should use this strategy instead of the default one (which was the previous OWASP recommendation).
The work factor can be updated by using the nonces json array.
@@ -308,12 +308,12 @@This is the current backwards compatible hashing implementation, new applications should prefer the +
This is the current backwards compatible hashing implementation, new applications should prefer the PBKDF2 implementation, unless the tradeoff between security and CPU usage is an option.
Time constant string comparision to avoid timming attacks.
+Time constant string comparision to avoid timming attacks.
Generate a new JWT token.
+Generate a new JWT token.
Generate a new JWT token.
+Generate a new JWT token.
Create a JWT auth provider
+Create a JWT auth provider
Compute the hashed password given the unhashed password and the user
+Compute the hashed password given the unhashed password and the user
Retrieve the salt. The source of the salt can be the external salt or the propriate column of the given user, +
Retrieve the salt. The source of the salt can be the external salt or the propriate column of the given user, depending on the defined HashSaltStyle
Get the defined HashSaltStyle of the current instance
+Get the defined HashSaltStyle of the current instance
Retrieve the password from the user, or as clear text or as hashed version, depending on the definition
+Retrieve the password from the user, or as clear text or as hashed version, depending on the definition
Allows the selection of the hashing algorithm.
+Allows the selection of the hashing algorithm.
Set an external salt. This method should be used in case of {@link HashSaltStyle#EXTERNAL}
+Set an external salt. This method should be used in case of {@link HashSaltStyle#EXTERNAL}
Set the saltstyle as defined by HashSaltStyle.
+Set the saltstyle as defined by HashSaltStyle.
The name of the collection used to store User objects inside. Defaults to {@link #DEFAULT_COLLECTION_NAME}
+The name of the collection used to store User objects inside. Defaults to {@link #DEFAULT_COLLECTION_NAME}
The HashStrategy which is used by the current instance
+The HashStrategy which is used by the current instance
Get the name of the field to be used as property for the password of credentials in the method +
Get the name of the field to be used as property for the password of credentials in the method {@link #authenticate(JsonObject, io.vertx.core.Handler)}. Defaults to {@link #DEFAULT_CREDENTIAL_PASSWORD_FIELD}
Get the name of the field to be used for the password Defaults to {@link #DEFAULT_PASSWORD_FIELD}
+Get the name of the field to be used for the password Defaults to {@link #DEFAULT_PASSWORD_FIELD}
Get the name of the field to be used for the permissions. Defaults to {@link #DEFAULT_PERMISSION_FIELD}. +
Get the name of the field to be used for the permissions. Defaults to {@link #DEFAULT_PERMISSION_FIELD}. Permissions are expected to be saved as JsonArray
Get the name of the field to be used for the roles. Defaults to {@link #DEFAULT_ROLE_FIELD}. Roles are expected to +
Get the name of the field to be used for the roles. Defaults to {@link #DEFAULT_ROLE_FIELD}. Roles are expected to be saved as JsonArray
Get the name of the field to be used for the salt. Only used when {@link HashStrategy#setSaltStyle(HashSaltStyle)} is +
Get the name of the field to be used for the salt. Only used when {@link HashStrategy#setSaltStyle(HashSaltStyle)} is set to {@link HashSaltStyle#COLUMN}
Get the name of the field to be used as property for the username in the method +
Get the name of the field to be used as property for the username in the method {@link #authenticate(JsonObject, io.vertx.core.Handler)}. Defaults to {@link #DEFAULT_CREDENTIAL_USERNAME_FIELD}
Get the name of the field to be used for the username. Defaults to {@link #DEFAULT_USERNAME_FIELD}
+Get the name of the field to be used for the username. Defaults to {@link #DEFAULT_USERNAME_FIELD}
Insert a new user into mongo in the convenient way
+Insert a new user into mongo in the convenient way
Set the name of the collection to be used. Defaults to {@link #DEFAULT_COLLECTION_NAME}
+Set the name of the collection to be used. Defaults to {@link #DEFAULT_COLLECTION_NAME}
The Hash Algorithm which is used by the current instance
+The Hash Algorithm which is used by the current instance
The HashStrategy which is used by the current instance
+The HashStrategy which is used by the current instance
Set the name of the field to be used as property for the password of credentials in the method +
Set the name of the field to be used as property for the password of credentials in the method {@link #authenticate(JsonObject, io.vertx.core.Handler)}. Defaults to {@link #DEFAULT_CREDENTIAL_PASSWORD_FIELD}
Set the name of the field to be used for the password Defaults to {@link #DEFAULT_PASSWORD_FIELD}
+Set the name of the field to be used for the password Defaults to {@link #DEFAULT_PASSWORD_FIELD}
Set the name of the field to be used for the permissions. Defaults to {@link #DEFAULT_PERMISSION_FIELD}. +
Set the name of the field to be used for the permissions. Defaults to {@link #DEFAULT_PERMISSION_FIELD}. Permissions are expected to be saved as JsonArray
Set the name of the field to be used for the roles. Defaults to {@link #DEFAULT_ROLE_FIELD}. Roles are expected to +
Set the name of the field to be used for the roles. Defaults to {@link #DEFAULT_ROLE_FIELD}. Roles are expected to be saved as JsonArray
Set the name of the field to be used for the salt. Only used when {@link HashStrategy#setSaltStyle(HashSaltStyle)} is +
Set the name of the field to be used for the salt. Only used when {@link HashStrategy#setSaltStyle(HashSaltStyle)} is set to {@link HashSaltStyle#COLUMN}
Set the name of the field to be used as property for the username in the method +
Set the name of the field to be used as property for the username in the method {@link #authenticate(JsonObject, io.vertx.core.Handler)}. Defaults to {@link #DEFAULT_CREDENTIAL_USERNAME_FIELD}
Set the name of the field to be used for the username. Defaults to {@link #DEFAULT_USERNAME_FIELD}
+Set the name of the field to be used for the username. Defaults to {@link #DEFAULT_USERNAME_FIELD}
Creates an instance of MongoAuth by using the given {@link MongoClient} and configuration object. An example for a +
Creates an instance of MongoAuth by using the given {@link MongoClient} and configuration object. An example for a configuration object:
@@ -751,8 +759,13 @@mongoClient: MongoClient
the configuration object for the current instance. By this
+ the configuration object for the current instance. By this
The property name to be used to set the name of the collection inside the config.
-The mongo client configuration: see Mongo Client documentation.
-The property name to be used to set the name of the collection inside the config.
+a reference to this, so the API can be used fluently
+The mongo data source name: see Mongo Client documentation.
-The mongo client configuration: see Mongo Client documentation.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the password is stored inside
-The mongo data source name: see Mongo Client documentation.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the permissions are stored inside.
-The property name to be used to set the name of the field, where the password is stored inside
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the roles are stored inside.
-The property name to be used to set the name of the field, where the permissions are stored inside.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the SALT is stored inside.
-The property name to be used to set the name of the field, where the roles are stored inside.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the salt style is stored inside
-The property name to be used to set the name of the field, where the SALT is stored inside.
+a reference to this, so the API can be used fluently
+Use a shared Mongo client or not.
-The property name to be used to set the name of the field, where the salt style is stored inside
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the username for the credentials is stored inside.
-Use a shared Mongo client or not.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the username is stored inside.
-The property name to be used to set the name of the field, where the username for the credentials is stored inside.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the username is stored inside.
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the collection inside the config.
+the collection name
+a reference to this, so the API can be used fluently
+The mongo client configuration: see Mongo Client documentation.
+the mongo config
+a reference to this, so the API can be used fluently
+The mongo data source name: see Mongo Client documentation.
+the data source name
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the password is stored inside
+the password field
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the permissions are stored inside.
+the permission field
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the roles are stored inside.
+the role field
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the SALT is stored inside.
+the salt field
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the salt style is stored inside
+the salt style
+a reference to this, so the API can be used fluently
+Use a shared Mongo client or not.
+true to use a shared client
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the username for the credentials is stored inside.
+the username credential field
+a reference to this, so the API can be used fluently
+The property name to be used to set the name of the field, where the username is stored inside.
+the username field
+a reference to this, so the API can be used fluently
+The Access Token if present parsed as a JsonObject
+The Access Token if present parsed as a JsonObject
JSON
+Check if the access token is expired or not.
+Check if the access token is expired or not.
Fetches a JSON resource using this Access Token.
+Fetches a JSON resource using this Access Token.
Fetches a JSON resource using this Access Token.
+Fetches a JSON resource using this Access Token.
extra headers to pass to the request.
The Id Token if present parsed as a JsonObject
+The Id Token if present parsed as a JsonObject
JSON
+Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid.
+Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid.
Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid.
+Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid.
Revoke refresh token and calls the logout endpoint. This is a openid-connect extension and might not be +
Revoke refresh token and calls the logout endpoint. This is a openid-connect extension and might not be available on all providers.
The RAW String if available for the Access Token
+String
The RAW String if available for the Id Token
+String
The RAW String if available for the Refresh Token
+String
Refresh the access token
+Refresh the access token
The Refresh Token if present parsed as a JsonObject
+The Refresh Token if present parsed as a JsonObject
JSON
+Revoke access or refresh token
+Revoke access or refresh token
Load the user info as per OIDC spec.
+Load the user info as per OIDC spec.
Create a OAuth2Auth provider for Microsoft Azure Active Directory
+Create a OAuth2Auth provider for Microsoft Azure Active Directory
Create a OAuth2Auth provider for Microsoft Azure Active Directory
+Create a OAuth2Auth provider for Microsoft Azure Active Directory
Create a OAuth2Auth provider for OpenID Connect Discovery. The discovery will use the default site in the + configuration options and attempt to load the well known descriptor. If a site is provided (for example when + running on a custom instance) that site will be used to do the lookup. +
+ If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded + into the OAuth provider so tokens can be decoded.
+the vertx instance
+the initial config
+the instantiated Oauth2 provider instance handler
+Create a OAuth2Auth provider for Google
+Create a OAuth2Auth provider for Google
Create a OAuth2Auth provider for Google
+Create a OAuth2Auth provider for Google
Create a OAuth2Auth provider for Google Service Account (Server to Server)
+Create a OAuth2Auth provider for Google Service Account (Server to Server)
the configuration json file from your Google API page
Create a OAuth2Auth provider for Google Service Account (Server to Server)
+Create a OAuth2Auth provider for Google Service Account (Server to Server)
the configuration json file from your Google API page
Create a OAuth2Auth provider for OpenID Connect Discovery. The discovery will use the default site in the + configuration options and attempt to load the well known descriptor. If a site is provided (for example when + running on a custom instance) that site will be used to do the lookup. +
+ If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded + into the OAuth provider so tokens can be decoded.
+the vertx instance
+the initial config
+the instantiated Oauth2 provider instance handler
+Create a OAuth2Auth provider for Keycloak
+Create a OAuth2Auth provider for Keycloak
the json config file exported from Keycloak admin console
Create a OAuth2Auth provider for Keycloak
+Create a OAuth2Auth provider for Keycloak
the json config file exported from Keycloak admin console
Create a OAuth2Auth provider for Keycloak
+Create a OAuth2Auth provider for Keycloak
the json config file exported from Keycloak admin console
Create a OAuth2Auth provider for Keycloak
+Create a OAuth2Auth provider for Keycloak
the json config file exported from Keycloak admin console
Create a OAuth2Auth provider for OpenID Connect Discovery. The discovery will use the default site in the + configuration options and attempt to load the well known descriptor. If a site is provided (for example when + running on a custom instance) that site will be used to do the lookup. +
+ If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded + into the OAuth provider so tokens can be decoded.
+the vertx instance
+the initial config
+the instantiated Oauth2 provider instance handler
+Factory method to create a RBAC handler for tokens adhering to the Keycloak token format.
+a RBAC validator
+Create a OAuth2Auth provider for LinkedIn
+Create a OAuth2Auth provider for LinkedIn
Create a OAuth2Auth provider for LinkedIn
+Create a OAuth2Auth provider for LinkedIn
Create a OAuth2Auth provider for live.com
+Create a OAuth2Auth provider for live.com
Create a OAuth2Auth provider for live.com
+Create a OAuth2Auth provider for live.com
Create a OAuth2Auth provider for Mailchimp
+Create a OAuth2Auth provider for Mailchimp
Create a OAuth2Auth provider for Mailchimp
+Create a OAuth2Auth provider for Mailchimp
Factory method to create a RBAC handler for tokens adhering to the MP-JWT 1.1 spec.
+a RBAC validator
+Generate a redirect URL to the authN/Z backend. It only applies to auth_code flow.
+Generate a redirect URL to the authN/Z backend. It only applies to auth_code flow.
Decode a token to a AccessToken object. This is useful to handle bearer JWT tokens.
+Decode a token to a AccessToken object. This is useful to handle bearer JWT tokens.
Returns the configured flow type for the Oauth2 provider.
+Returns the configured flow type for the Oauth2 provider.
Returns the scope separator.
+Returns the scope separator.
The RFC 6749 states that a scope is expressed as a set of case-sensitive and space-delimited strings, however vendors tend not to agree on this and we see the following cases being used: space, plus sign, comma.
@@ -240,12 +257,12 @@Returns the Access Token object.
+Returns the Access Token object.
Returns true if this provider supports JWT tokens as the access_token. This is typically true if the provider
- implements the openid-connect
protocol. This is a plain return from the config option jwtToken, which is false
- by default.
This information is important to validate grants. Since pure OAuth2 should be used for authorization and when a - token is requested all grants should be declared, in case of openid-connect this is not true. OpenId will issue - a token and all grants will be encoded on the token itself so the requester does not need to list the required - grants.
-true if openid-connect is used.
-Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine +
Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine meta-information about this token.
Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine +
Query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine meta-information about this token.
Loads a JWK Set from the remote provider.
+Loads a JWK Set from the remote provider.
When calling this method several times, the loaded JWKs are updated in the underlying JWT object.
Create a OAuth2 auth provider
+Create a OAuth2 auth provider
Create a OAuth2 auth provider
+the Vertx instance
+the auth provider
+Create a OAuth2 auth provider
+the Vertx instance
+the config
+the auth provider
+the config as exported from the admin console
Get the Oauth2 authorization resource path. e.g.: /oauth/authorize
-Set the provider client id
-Set the provider client secret
-Override the HTTP form field name for client secret
-The provider PubSec key options
+the pub sec key options
+Get the Oauth2 authorization resource path. e.g.: /oauth/authorize
+authorization path
+Set the provider client id
+self
+Set the provider client secret
+self
+Override the HTTP form field name for client secret
+self
+Set extra parameters to be sent to the provider on each request
-Set custom headers to be sent with every request to the provider
-Set extra parameters to be sent to the provider on each request
+self
+Set custom headers to be sent with every request to the provider
+self
+Set the provider token introspection resource path
-Set the provider token introspection resource path
+self
+Set the provider logout path
-Set the provider logout path
+self
+The provider PubSec key options
+the pub sec key options
+Set the Oauth2 revocation resource path. e.g.: /oauth/revoke
+self
+Set the provider scope separator
+self
+Root URL for the provider
+self
+Get the Oauth2 token resource path. e.g.: /oauth/token
+token path
+Set a custom user agent to use when communicating to a provider
+self
+Set custom parameters to be sent during the userInfo resource request
+self
+Set the provider userInfo resource path
+self
+Flag to use HTTP basic auth header with client id, client secret.
+self
+Get the Oauth2 authorization resource path. e.g.: /oauth/authorize
+authorization path
+Set the provider client id
+client id
+self
+Set the provider client secret
+client secret
+self
+Override the HTTP form field name for client secret
+the new nme
+self
+Set extra parameters to be sent to the provider on each request
+self
+Set custom headers to be sent with every request to the provider
+the headers
+self
+Set the provider token introspection resource path
+a resource path
+self
+The provider PubSec key options
-Set the provider logout path
+a logout resource path
+self
+Set the Oauth2 revocation resource path. e.g.: /oauth/revoke
-Set the provider scope separator
-The provider PubSec key options
+the pub sec key options
+Set the Oauth2 revocation resource path. e.g.: /oauth/revoke
+self
+Set the provider scope separator
+a separator e.g.: ' ', '+', ','
+self
+Root URL for the provider
+a url
+self
+Root URL for the provider
-Get the Oauth2 token resource path. e.g.: /oauth/token
+token path
+Get the Oauth2 token resource path. e.g.: /oauth/token
-Flag to use HTTP basic auth header with client id, client secret.
+self
+Set a custom user agent to use when communicating to a provider
+the user agent
+self
+Set custom parameters to be sent during the userInfo resource request
+self
+Set the provider userInfo resource path
+a resource path
+self
+Flag to use HTTP basic auth header with client id, client secret.
-Set a custom user agent to use when communicating to a provider
-Set custom parameters to be sent during the userInfo resource request
-Set the provider userInfo resource path
-This method should verify if the user has the given authority and return either a boolean value or an error.
+Note that false and errors are not the same. A user might not have a given authority but that doesn't mean that + there was an error during the call.
+the given user to assert on
+the authority to lookup
+the result handler.
+Generated using TypeDoc
+The HTTP response body as a buffer
+The HTTP response body as a buffer
Looks up a HTTP response header by name, in case where the response is a list of headers, +
Looks up a HTTP response header by name, in case where the response is a list of headers, the first one is returned.
The HTTP response headers from the HTTP layer.
+The HTTP response headers from the HTTP layer.
Helper to analize the response body. The test is performed against the header Content-Type, +
Helper to analize the response body. The test is performed against the header Content-Type, the content of the body is not analyzed.
The HTTP response body as a JsonArray
+The HTTP response body as a JsonArray
The HTTP response body as a JsonObject
+The HTTP response body as a JsonObject
the returned status code from the HTTP layer.
+the returned status code from the HTTP layer.
Create a OAuth2Auth provider for OpenID Connect Discovery. The discovery will use the given site in the + configuration options and attempt to load the well known descriptor.
+If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded + into the OAuth provider so tokens can be decoded.
+the vertx instance
+the initial config, it should contain a site url
+the instantiated Oauth2 provider instance handler
+Generated using TypeDoc
+Create a OAuth2Auth provider for Salesforce
+Create a OAuth2Auth provider for Salesforce
Create a OAuth2Auth provider for Salesforce
+Create a OAuth2Auth provider for Salesforce
Create a OAuth2Auth provider for OpenID Connect Discovery. The discovery will use the default site in the + configuration options and attempt to load the well known descriptor. If a site is provided (for example when + running on a custom instance) that site will be used to do the lookup. +
+ If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded + into the OAuth provider so tokens can be decoded.
+the vertx instance
+the initial config
+the instantiated Oauth2 provider instance handler
+Connect to a Cassandra service.
+current Cassandra client instance
+Connect to a Cassandra service.
+handler called when asynchronous connect call ends
+current Cassandra client instance
+Connect to a Cassandra service.
+The name of the keyspace to use for the created connection.
+handler called when asynchronous connect call ends
+current Cassandra client instance
+Disconnects from the Cassandra service.
+current Cassandra client instance
+Disconnects from the Cassandra service.
+handler called when asynchronous disconnect call ends
+current Cassandra client instance
+Execute the query and provide a handler for consuming results.
+the query to execute
+handler called when result of execution is present, but can be not fully fetched
+current Cassandra client instance
+whether this Cassandra client instance connected.
+Executes the given SQL SELECT
statement which returns the results of the query as a read stream.
the SQL to execute. For example SELECT * FROM table ...
.
the handler which is called once the operation completes. It will return an instance of CassandraRowStream.
+current Cassandra client instance
+Like {@link CassandraClient#createNonShared(Vertx, CassandraClientOptions)} but with default client options.
+Create a Cassandra client which maintains its own data source. +
+ It is not recommended to create several non shared clients in an application. + Your application should either use only single non shared client, or use shared client. + This is because CassandraClient backed by {@link com.datastax.driver.core.Session}. + And Datastax does not recommended to have several {@link com.datastax.driver.core.Session} + instances. Better to have only one, and share it.
+the Vert.x instance
+the options
+the client
+Like {@link CassandraClient#createShared(Vertx, String, CassandraClientOptions)}, but with default client options and datasource.
+Like {@link CassandraClient#createShared(Vertx, String, CassandraClientOptions)}, but with default client options.
+Like {@link CassandraClient#createShared(Vertx, String, CassandraClientOptions)}, but with datasource name.
+Create a Cassandra client which shares its data source with any other Cassandra clients created with the same + data source name.
+the Vert.x instance
+the data source name
+the options
+the client
+Generated using TypeDoc
+Set a list of hosts, where some of cluster nodes is located.
+the list of hosts
+a reference to this, so the API can be used fluently
+Set a list of hosts, where some of cluster nodes is located.
+a reference to this, so the API can be used fluently
+Set which port should be used for all the hosts to connect to a cassandra service.
+a reference to this, so the API can be used fluently
+Set a list of hosts, where some of cluster nodes is located.
+the list of hosts
+a reference to this, so the API can be used fluently
+Set which port should be used for all the hosts to connect to a cassandra service.
+the port
+a reference to this, so the API can be used fluently
+Generated using TypeDoc
+Generated using TypeDoc
+handler called when result is fetched
+Generated using TypeDoc
+
-
+
Generated JavaScript bindings for Eclipse Vert.x.
Import the required API
/Enum
/DataObject
and profit!
// Base API
-const Api = require('@vertx/hawkular');
+const Api = require('@vertx/cassandra');
// Base ENUMs
-const Enums = require('@vertx/hawkular/enums');
+const Enums = require('@vertx/cassandra/enums');
// DataObject's
-const Options = require('@vertx/hawkular/options');
+const Options = require('@vertx/cassandra/options');
// refer to the API docs for specific help...
@@ -107,17 +107,17 @@ Links
diff --git a/docs/@vertx/circuit-breaker/assets/js/search.js b/docs/@vertx/circuit-breaker/assets/js/search.js
index a01fcaecd..8060eb4ec 100644
--- a/docs/@vertx/circuit-breaker/assets/js/search.js
+++ b/docs/@vertx/circuit-breaker/assets/js/search.js
@@ -1,3 +1,3 @@
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
- typedoc.search.data = {"kinds":{"128":"Class","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":128,"name":"CircuitBreakerOptions","url":"classes/circuitbreakeroptions.html","classes":"tsd-kind-class"},{"id":1,"kind":1024,"name":"fallbackOnFailure","url":"classes/circuitbreakeroptions.html#fallbackonfailure","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":2,"kind":1024,"name":"maxFailures","url":"classes/circuitbreakeroptions.html#maxfailures","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":3,"kind":1024,"name":"maxRetries","url":"classes/circuitbreakeroptions.html#maxretries","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":4,"kind":1024,"name":"metricsRollingBuckets","url":"classes/circuitbreakeroptions.html#metricsrollingbuckets","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":5,"kind":1024,"name":"metricsRollingWindow","url":"classes/circuitbreakeroptions.html#metricsrollingwindow","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":6,"kind":1024,"name":"notificationAddress","url":"classes/circuitbreakeroptions.html#notificationaddress","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":7,"kind":1024,"name":"notificationPeriod","url":"classes/circuitbreakeroptions.html#notificationperiod","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":8,"kind":1024,"name":"resetTimeout","url":"classes/circuitbreakeroptions.html#resettimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":9,"kind":1024,"name":"timeout","url":"classes/circuitbreakeroptions.html#timeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":10,"kind":128,"name":"CircuitBreaker","url":"classes/circuitbreaker.html","classes":"tsd-kind-class"},{"id":11,"kind":2048,"name":"create","url":"classes/circuitbreaker.html#create","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"CircuitBreaker"},{"id":12,"kind":2048,"name":"close","url":"classes/circuitbreaker.html#close","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":13,"kind":2048,"name":"openHandler","url":"classes/circuitbreaker.html#openhandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":14,"kind":2048,"name":"halfOpenHandler","url":"classes/circuitbreaker.html#halfopenhandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":15,"kind":2048,"name":"closeHandler","url":"classes/circuitbreaker.html#closehandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":16,"kind":2048,"name":"executeWithFallback","url":"classes/circuitbreaker.html#executewithfallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":17,"kind":2048,"name":"executeCommandWithFallback","url":"classes/circuitbreaker.html#executecommandwithfallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":18,"kind":2048,"name":"execute","url":"classes/circuitbreaker.html#execute","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":19,"kind":2048,"name":"executeCommand","url":"classes/circuitbreaker.html#executecommand","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":20,"kind":2048,"name":"executeAndReport","url":"classes/circuitbreaker.html#executeandreport","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":21,"kind":2048,"name":"executeAndReportWithFallback","url":"classes/circuitbreaker.html#executeandreportwithfallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":22,"kind":2048,"name":"fallback","url":"classes/circuitbreaker.html#fallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":23,"kind":2048,"name":"reset","url":"classes/circuitbreaker.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":24,"kind":2048,"name":"open","url":"classes/circuitbreaker.html#open","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":25,"kind":2048,"name":"state","url":"classes/circuitbreaker.html#state","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":26,"kind":2048,"name":"failureCount","url":"classes/circuitbreaker.html#failurecount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":27,"kind":2048,"name":"name","url":"classes/circuitbreaker.html#name","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":28,"kind":128,"name":"HystrixMetricHandler","url":"classes/hystrixmetrichandler.html","classes":"tsd-kind-class"},{"id":29,"kind":2048,"name":"handle","url":"classes/hystrixmetrichandler.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"HystrixMetricHandler"},{"id":30,"kind":2048,"name":"create","url":"classes/hystrixmetrichandler.html#create","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"HystrixMetricHandler"}]};
\ No newline at end of file
+ typedoc.search.data = {"kinds":{"128":"Class","512":"Constructor","2048":"Method"},"rows":[{"id":0,"kind":128,"name":"CircuitBreakerOptions","url":"classes/circuitbreakeroptions.html","classes":"tsd-kind-class"},{"id":1,"kind":512,"name":"constructor","url":"classes/circuitbreakeroptions.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":2,"kind":2048,"name":"getFailuresRollingWindow","url":"classes/circuitbreakeroptions.html#getfailuresrollingwindow","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":3,"kind":2048,"name":"setFailuresRollingWindow","url":"classes/circuitbreakeroptions.html#setfailuresrollingwindow","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":4,"kind":2048,"name":"isFallbackOnFailure","url":"classes/circuitbreakeroptions.html#isfallbackonfailure","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":5,"kind":2048,"name":"setFallbackOnFailure","url":"classes/circuitbreakeroptions.html#setfallbackonfailure","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":6,"kind":2048,"name":"getMaxFailures","url":"classes/circuitbreakeroptions.html#getmaxfailures","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":7,"kind":2048,"name":"setMaxFailures","url":"classes/circuitbreakeroptions.html#setmaxfailures","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":8,"kind":2048,"name":"getMaxRetries","url":"classes/circuitbreakeroptions.html#getmaxretries","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":9,"kind":2048,"name":"setMaxRetries","url":"classes/circuitbreakeroptions.html#setmaxretries","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":10,"kind":2048,"name":"getMetricsRollingBuckets","url":"classes/circuitbreakeroptions.html#getmetricsrollingbuckets","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":11,"kind":2048,"name":"setMetricsRollingBuckets","url":"classes/circuitbreakeroptions.html#setmetricsrollingbuckets","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":12,"kind":2048,"name":"getMetricsRollingWindow","url":"classes/circuitbreakeroptions.html#getmetricsrollingwindow","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":13,"kind":2048,"name":"setMetricsRollingWindow","url":"classes/circuitbreakeroptions.html#setmetricsrollingwindow","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":14,"kind":2048,"name":"getNotificationAddress","url":"classes/circuitbreakeroptions.html#getnotificationaddress","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":15,"kind":2048,"name":"setNotificationAddress","url":"classes/circuitbreakeroptions.html#setnotificationaddress","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":16,"kind":2048,"name":"getNotificationPeriod","url":"classes/circuitbreakeroptions.html#getnotificationperiod","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":17,"kind":2048,"name":"setNotificationPeriod","url":"classes/circuitbreakeroptions.html#setnotificationperiod","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":18,"kind":2048,"name":"getResetTimeout","url":"classes/circuitbreakeroptions.html#getresettimeout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":19,"kind":2048,"name":"setResetTimeout","url":"classes/circuitbreakeroptions.html#setresettimeout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":20,"kind":2048,"name":"getTimeout","url":"classes/circuitbreakeroptions.html#gettimeout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":21,"kind":2048,"name":"setTimeout","url":"classes/circuitbreakeroptions.html#settimeout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreakerOptions"},{"id":22,"kind":128,"name":"CircuitBreaker","url":"classes/circuitbreaker.html","classes":"tsd-kind-class"},{"id":23,"kind":2048,"name":"create","url":"classes/circuitbreaker.html#create","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"CircuitBreaker"},{"id":24,"kind":2048,"name":"close","url":"classes/circuitbreaker.html#close","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":25,"kind":2048,"name":"openHandler","url":"classes/circuitbreaker.html#openhandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":26,"kind":2048,"name":"halfOpenHandler","url":"classes/circuitbreaker.html#halfopenhandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":27,"kind":2048,"name":"closeHandler","url":"classes/circuitbreaker.html#closehandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":28,"kind":2048,"name":"executeWithFallback","url":"classes/circuitbreaker.html#executewithfallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":29,"kind":2048,"name":"executeCommandWithFallback","url":"classes/circuitbreaker.html#executecommandwithfallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":30,"kind":2048,"name":"execute","url":"classes/circuitbreaker.html#execute","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":31,"kind":2048,"name":"executeCommand","url":"classes/circuitbreaker.html#executecommand","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":32,"kind":2048,"name":"executeAndReport","url":"classes/circuitbreaker.html#executeandreport","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":33,"kind":2048,"name":"executeAndReportWithFallback","url":"classes/circuitbreaker.html#executeandreportwithfallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":34,"kind":2048,"name":"fallback","url":"classes/circuitbreaker.html#fallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"CircuitBreaker"},{"id":35,"kind":2048,"name":"reset","url":"classes/circuitbreaker.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":36,"kind":2048,"name":"open","url":"classes/circuitbreaker.html#open","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":37,"kind":2048,"name":"state","url":"classes/circuitbreaker.html#state","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":38,"kind":2048,"name":"failureCount","url":"classes/circuitbreaker.html#failurecount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":39,"kind":2048,"name":"name","url":"classes/circuitbreaker.html#name","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":40,"kind":2048,"name":"retryPolicy","url":"classes/circuitbreaker.html#retrypolicy","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CircuitBreaker"},{"id":41,"kind":128,"name":"HystrixMetricHandler","url":"classes/hystrixmetrichandler.html","classes":"tsd-kind-class"},{"id":42,"kind":2048,"name":"handle","url":"classes/hystrixmetrichandler.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"HystrixMetricHandler"},{"id":43,"kind":2048,"name":"create","url":"classes/hystrixmetrichandler.html#create","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"HystrixMetricHandler"}]};
\ No newline at end of file
diff --git a/docs/@vertx/circuit-breaker/classes/circuitbreaker.html b/docs/@vertx/circuit-breaker/classes/circuitbreaker.html
index bc75385f3..799cd4a35 100644
--- a/docs/@vertx/circuit-breaker/classes/circuitbreaker.html
+++ b/docs/@vertx/circuit-breaker/classes/circuitbreaker.html
@@ -81,19 +81,20 @@ Methods
- close
- close
Handler
- - execute
- - execute
AndReport
- - execute
AndReportWithFallback
- - execute
Command
- - execute
CommandWithFallback
- - execute
WithFallback
+ - execute
+ - execute
AndReport
+ - execute
AndReportWithFallback
+ - execute
Command
+ - execute
CommandWithFallback
+ - execute
WithFallback
- failure
Count
- - fallback
+ - fallback
- half
OpenHandler
- name
- open
- open
Handler
- reset
+ - retry
Policy
- state
- create
@@ -113,12 +114,12 @@ close
- Closes the circuit breaker. It stops sending events on its state on the event bus.
+
Closes the circuit breaker. It stops sending events on its state on the event bus.
This method is not related to the {@code close} state of the circuit breaker. To set the circuit breaker in the
{@code close} state, use {@link #reset()}.
@@ -137,12 +138,12 @@ closeHandler
- Sets a {@link Handler} invoked when the circuit breaker state switches to close.
+ Sets a {@link Handler} invoked when the circuit breaker state switches to close.
Parameters
@@ -155,17 +156,20 @@ handler: function
-
-
+
-
Parameters
-
-
result: void
+ res: void
- Returns void
+ Returns void
+ |
+ Handler<void>
+
@@ -177,24 +181,33 @@ Returns
+
execute
-
-
+
-
-
Same as {@link #executeWithFallback(Handler, Function)} but using the circuit breaker default fallback.
+ Same as {@link #executeWithFallback(Handler, Function)} but using the circuit breaker default fallback.
+ Type parameters
+
+ -
+
T
+
+ the type of result
+
+
+
Parameters
-
@@ -205,51 +218,63 @@
command: function
-
-
+
-
Parameters
-
-
result: Future
+ res: Future<T>
- Returns void
+ Returns void
+ |
+ Handler<Future<T>>
+
- Returns Future
+ Returns Future<T>
a future object completed when the operation or its fallback completes
+
-
+
executeAndReport
-
-
+
-
-
Same as {@link #executeAndReportWithFallback(Future, Handler, Function)} but using the circuit breaker default
+
Same as {@link #executeAndReportWithFallback(Future, Handler, Function)} but using the circuit breaker default
fallback.
+ Type parameters
+
+ -
+
T
+
+ the type of result
+
+
+
Parameters
-
-
resultFuture: Future
+ resultFuture: Future<T>
the future on which the operation result is reported
@@ -262,17 +287,20 @@ command: function
-
-
+
-
Parameters
-
-
result: Future
+ res: Future<T>
- Returns void
+ Returns void
+ |
+ Handler<Future<T>>
+
@@ -284,22 +312,22 @@ Returns
+
executeAndReportWithFallback
-
-
+
-
-
Executes the given operation with the circuit breaker control. The operation is generally calling an
+
Executes the given operation with the circuit breaker control. The operation is generally calling an
external system. The operation receives a {@link Future} object as parameter and must
call {@link Future#complete(Object)} when the operation has terminated successfully. The operation must also
call {@link Future#fail(Throwable)} in case of failure.
@@ -314,10 +342,19 @@
executeAndReportWithFallback
the future is marked as failed.
+ Type parameters
+
+ -
+
T
+
+ the type of result
+
+
+
Parameters
-
-
resultFuture: Future
+ resultFuture: Future<T>
the future on which the operation result is reported
@@ -330,17 +367,20 @@ command: function
-
-
+
-
Parameters
-
-
result: Future
+ res: Future<T>
- Returns void
+ Returns void
+ |
+ Handler<Future<T>>
+
@@ -354,17 +394,17 @@ fallback: function
-
-
+
-
Parameters
-
-
t: Error
+ arg: Error
- Returns any
+ Returns T
@@ -376,24 +416,33 @@ Returns
+
executeCommand
-
-
+
-
-
Same as {@link #executeWithFallback(Handler, Function)} but using the circuit breaker default fallback.
+ Same as {@link #executeWithFallback(Handler, Function)} but using the circuit breaker default fallback.
+ Type parameters
+
+ -
+
T
+
+ the type of result
+
+
+
Parameters
-
@@ -404,17 +453,20 @@
command: function
-
-
+
-
Parameters
-
-
result: Future
+ res: Future<T>
- Returns void
+ Returns void
+ |
+ Handler<Future<T>>
+
@@ -425,17 +477,20 @@ handler: function
-
-
+
-
Parameters
-
-
result: AsyncResult<any>
+ res: AsyncResult<T>
- Returns void
+ Returns void
+ |
+ Handler<AsyncResult<T>>
+
@@ -447,24 +502,33 @@ Returns void
+
-
+
executeCommandWithFallback
-
-
+
-
-
Same as {@link #executeWithFallback(Handler, Function)} but using a callback.
+ Same as {@link #executeWithFallback(Handler, Function)} but using a callback.
+ Type parameters
+
+ -
+
T
+
+ the type of result
+
+
+
Parameters
-
@@ -475,17 +539,20 @@
command: function
-
-
+
-
Parameters
-
-
result: Future
+ res: Future<T>
- Returns void
+ Returns void
+ |
+ Handler<Future<T>>
+
@@ -499,17 +566,17 @@ fallback: function
-
-
+
-
Parameters
-
-
t: Error
+ arg: Error
- Returns any
+ Returns T
@@ -525,17 +592,20 @@ handler: function
-
-
+
-
Parameters
-
-
result: AsyncResult<any>
+ res: AsyncResult<T>
- Returns void
+ Returns void
+ |
+ Handler<AsyncResult<T>>
+
@@ -547,22 +617,22 @@ Returns void
+
-
+
executeWithFallback
-
-
+
-
-
Executes the given operation with the circuit breaker control. The operation is generally calling an
+
Executes the given operation with the circuit breaker control. The operation is generally calling an
external system. The operation receives a {@link Future} object as parameter and must
call {@link Future#complete(Object)} when the operation has terminated successfully. The operation must also
call {@link Future#fail(Throwable)} in case of failure.
@@ -576,6 +646,15 @@
executeWithFallback
value returned from the fallback. If the fallback throws an exception, the returned future is marked as failed.
+ Type parameters
+
+ -
+
T
+
+ the type of result
+
+
+
Parameters
-
@@ -586,17 +665,20 @@
command: function
-
-
+
-
Parameters
-
-
result: Future
+ res: Future<T>
- Returns void
+ Returns void
+ |
+ Handler<Future<T>>
+
@@ -610,24 +692,24 @@ fallback: function
-
-
+
-
Parameters
-
-
t: Error
+ arg: Error
- Returns any
+ Returns T
- Returns Future
+ Returns Future<T>
a future object completed when the operation or its fallback completes
@@ -642,7 +724,7 @@ failureCount
-
@@ -652,27 +734,33 @@
Returns number
-
+
fallback
-
-
+
-
-
Sets a default {@link Function} invoked when the bridge is open to handle the "request", or on failure
+
Sets a default {@link Function} invoked when the bridge is open to handle the "request", or on failure
if {@link CircuitBreakerOptions#isFallbackOnFailure()} is enabled.
The function gets the exception as parameter and returns the fallback result.
+ Type parameters
+
+ -
+
T
+
+
Parameters
-
@@ -683,17 +771,17 @@
handler: function
-
-
+
-
Parameters
-
-
t: Error
+ arg: Error
- Returns any
+ Returns T
@@ -715,12 +803,12 @@ halfOpenHandler
-
-
Sets a {@link Handler} invoked when the circuit breaker state switches to half-open.
+ Sets a {@link Handler} invoked when the circuit breaker state switches to half-open.
Parameters
@@ -733,17 +821,20 @@ handler: function
-
-
+
-
Parameters
-
-
result: void
+ res: void
- Returns void
+ Returns void
+ |
+ Handler<void>
+
@@ -765,7 +856,7 @@ name
-
@@ -785,12 +876,12 @@
open
-
-
Explicitly opens the circuit.
+ Explicitly opens the circuit.
Returns CircuitBreaker
@@ -808,12 +899,12 @@ openHandler
-
-
Sets a {@link Handler} invoked when the circuit breaker state switches to open.
+ Sets a {@link Handler} invoked when the circuit breaker state switches to open.
Parameters
@@ -826,17 +917,20 @@ handler: function
-
-
+
-
Parameters
-
-
result: void
+ res: void
- Returns void
+ Returns void
+ |
+ Handler<void>
+
@@ -858,12 +952,12 @@ reset
-
-
Resets the circuit breaker state (number of failure set to 0 and state set to closed).
+ Resets the circuit breaker state (number of failure set to 0 and state set to closed).
Returns CircuitBreaker
@@ -871,6 +965,47 @@ Returns
+
+ retryPolicy
+
+
+
+
+ -
+
+
Parameters
+
+ -
+
retryPolicy: function
+
+ -
+
+
+
+
+ -
+
Parameters
+
+ -
+
arg: number
+
+
+ Returns number
+
+
+
+
+
+
+ Returns CircuitBreaker
+
+
+
state
@@ -881,7 +1016,7 @@ state
-
@@ -902,12 +1037,12 @@
Static create
-
-
Creates a new instance of CircuitBreaker.
+ Creates a new instance of CircuitBreaker.
Parameters
@@ -937,12 +1072,12 @@ Returns
- Creates a new instance of CircuitBreaker, with default options.
+ Creates a new instance of CircuitBreaker, with default options.
Parameters
@@ -988,28 +1123,28 @@ Returns
closeHandler
- -
+
-
execute
- -
+
-
execute
AndReport
- -
+
-
execute
AndReportWithFallback
- -
+
-
execute
Command
- -
+
-
execute
CommandWithFallback
- -
+
-
execute
WithFallback
-
failure
Count
- -
+
-
fallback
-
@@ -1027,6 +1162,9 @@
Returns
reset
+ -
+ retry
Policy
+
-
state
diff --git a/docs/@vertx/circuit-breaker/classes/circuitbreakeroptions.html b/docs/@vertx/circuit-breaker/classes/circuitbreakeroptions.html
index 586925138..146013574 100644
--- a/docs/@vertx/circuit-breaker/classes/circuitbreakeroptions.html
+++ b/docs/@vertx/circuit-breaker/classes/circuitbreakeroptions.html
@@ -77,235 +77,629 @@ Index
- Properties
+ Constructors
+
+
+ Methods
+
+ - get
FailuresRollingWindow
+ - get
MaxFailures
+ - get
MaxRetries
+ - get
MetricsRollingBuckets
+ - get
MetricsRollingWindow
+ - get
NotificationAddress
+ - get
NotificationPeriod
+ - get
ResetTimeout
+ - get
Timeout
+ - is
FallbackOnFailure
+ - set
FailuresRollingWindow
+ - set
FallbackOnFailure
+ - set
MaxFailures
+ - set
MaxRetries
+ - set
MetricsRollingBuckets
+ - set
MetricsRollingWindow
+ - set
NotificationAddress
+ - set
NotificationPeriod
+ - set
ResetTimeout
+ - set
Timeout
- Properties
-
-
- fallbackOnFailure
-
-
-
-
- Sets whether or not the fallback is executed on failure, even when the circuit is closed.
-
-
-
+ Constructors
+
+
+ constructor
+
+
+
+
+
+ -
+
+
Returns CircuitBreakerOptions
+
+ -
+
+
Parameters
+
+ -
+
obj: CircuitBreakerOptions
+
+
+ Returns CircuitBreakerOptions
+
+
-
-
- maxFailures
-
-
-
-
- Sets the maximum number of failures before opening the circuit.
-
-
-
+
+
+ Methods
+
+
+ getFailuresRollingWindow
+
+
+
+
+ -
+
+
+
+
Sets the rolling window used for metrics.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
-
-
- maxRetries
-
-
-
-
- Configures the number of times the circuit breaker tries to redo the operation before failing.
-
-
-
+
+
+ getMaxFailures
+
+
+
+
+ -
+
+
+
+
Sets the maximum number of failures before opening the circuit.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
-
-
- metricsRollingBuckets
-
-
-
-
- Sets the configured number of buckets the rolling window is divided into.
-
- The following must be true - metrics.rollingStats.timeInMilliseconds % metrics.rollingStats.numBuckets == 0 - otherwise it will throw an exception.
- In other words, 10000/10 is okay, so is 10000/20 but 10000/7 is not.
-
-
+
+
+ getMaxRetries
+
+
+
+
+ -
+
+
+
+
Configures the number of times the circuit breaker tries to redo the operation before failing.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
-
-
- metricsRollingWindow
-
-
-
-
- Sets the rolling window used for metrics.
-
-
-
+
+
+ getMetricsRollingBuckets
+
+
+
+
+ -
+
+
+
+
Sets the configured number of buckets the rolling window is divided into.
+
+ The following must be true - metrics.rollingStats.timeInMilliseconds % metrics.rollingStats.numBuckets == 0 - otherwise it will throw an exception.
+ In other words, 10000/10 is okay, so is 10000/20 but 10000/7 is not.
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
-
-
- notificationAddress
-
-
-
-
- Sets the event bus address on which the circuit breaker publish its state change.
-
-
-
+
+
+ getMetricsRollingWindow
+
+
+
+
+ -
+
+
+
+
Sets the rolling window used for metrics.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
-
-
- notificationPeriod
-
-
-
-
- Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its
- current state.
-
-
-
+
+
+ getNotificationAddress
+
+
+
+
+ -
+
+
+
+
Sets the event bus address on which the circuit breaker publish its state change.
+
+
+ Returns string
+ the current CircuitBreakerOptions instance
+
+
-
-
- resetTimeout
-
-
-
-
- Sets the time in ms before it attempts to re-close the circuit (by going to the half-open state). If the circuit
- is closed when the timeout is reached, nothing happens. {@code -1} disables this feature.
-
-
-
+
+
+ getNotificationPeriod
+
+
+
+
+ -
+
+
+
+
Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its
+ current state.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
-
-
- timeout
-
-
-
-
- Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as
- a failure.
-
-
-
+
+
+ getResetTimeout
+
+
+
+
+ -
+
+
+
+
Sets the time in ms before it attempts to re-close the circuit (by going to the half-open state). If the circuit
+ is closed when the timeout is reached, nothing happens. {@code -1} disables this feature.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ getTimeout
+
+
+
+
+ -
+
+
+
+
Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as
+ a failure.
+
+
+ Returns number
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ isFallbackOnFailure
+
+
+
+
+ -
+
+
+
+
Sets whether or not the fallback is executed on failure, even when the circuit is closed.
+
+
+ Returns boolean
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setFailuresRollingWindow
+
+
+
+
+ -
+
+
+
+
Sets the rolling window used for metrics.
+
+
+ Parameters
+
+ -
+
failuresRollingWindow: number
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setFallbackOnFailure
+
+
+
+
+ -
+
+
+
+
Sets whether or not the fallback is executed on failure, even when the circuit is closed.
+
+
+ Parameters
+
+ -
+
fallbackOnFailure: boolean
+
+ to enable it.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setMaxFailures
+
+
+
+
+ -
+
+
+
+
Sets the maximum number of failures before opening the circuit.
+
+
+ Parameters
+
+ -
+
maxFailures: number
+
+ the number of failures.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setMaxRetries
+
+
+
+
+ -
+
+
+
+
Configures the number of times the circuit breaker tries to redo the operation before failing.
+
+
+ Parameters
+
+ -
+
maxRetries: number
+
+ the number of retries, 0 to disable this feature.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setMetricsRollingBuckets
+
+
+
+
+ -
+
+
+
+
Sets the configured number of buckets the rolling window is divided into.
+
+ The following must be true - metrics.rollingStats.timeInMilliseconds % metrics.rollingStats.numBuckets == 0 - otherwise it will throw an exception.
+ In other words, 10000/10 is okay, so is 10000/20 but 10000/7 is not.
+
+ Parameters
+
+ -
+
metricsRollingBuckets: number
+
+ the number of rolling buckets.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setMetricsRollingWindow
+
+
+
+
+ -
+
+
+
+
Sets the rolling window used for metrics.
+
+
+ Parameters
+
+ -
+
metricsRollingWindow: number
+
+ the period in milliseconds.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setNotificationAddress
+
+
+
+
+ -
+
+
+
+
Sets the event bus address on which the circuit breaker publish its state change.
+
+
+ Parameters
+
+ -
+
notificationAddress: string
+
+ the address, {@code null} to disable this feature.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setNotificationPeriod
+
+
+
+
+ -
+
+
+
+
Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its
+ current state.
+
+
+ Parameters
+
+ -
+
notificationPeriod: number
+
+ the period, 0 to disable this feature.
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setResetTimeout
+
+
+
+
+ -
+
+
+
+
Sets the time in ms before it attempts to re-close the circuit (by going to the half-open state). If the circuit
+ is closed when the timeout is reached, nothing happens. {@code -1} disables this feature.
+
+
+ Parameters
+
+ -
+
resetTimeout: number
+
+ the time in ms
+
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
+
+
+
+ setTimeout
+
+
+
+
+ -
+
+
+
+
Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as
+ a failure.
+
+
+ Parameters
+
+ -
+
timeout: number
+
+
+ Returns CircuitBreakerOptions
+ the current CircuitBreakerOptions instance
+
+
@@ -327,32 +721,68 @@ timeout
-
Circuit
BreakerOptions
- -
- fallback
OnFailure
+ -
+ constructor
+
+ -
+ get
FailuresRollingWindow
+
+ -
+ get
MaxFailures
+
+ -
+ get
MaxRetries
+
+ -
+ get
MetricsRollingBuckets
+
+ -
+ get
MetricsRollingWindow
+
+ -
+ get
NotificationAddress
+
+ -
+ get
NotificationPeriod
+
+ -
+ get
ResetTimeout
+
+ -
+ get
Timeout
+
+ -
+ is
FallbackOnFailure
+
+ -
+ set
FailuresRollingWindow
+
+ -
+ set
FallbackOnFailure
- -
- max
Failures
+ -
+ set
MaxFailures
- -
- max
Retries
+ -
+ set
MaxRetries
- -
- metrics
RollingBuckets
+ -
+ set
MetricsRollingBuckets
- -
- metrics
RollingWindow
+ -
+ set
MetricsRollingWindow
- -
- notification
Address
+ -
+ set
NotificationAddress
- -
- notification
Period
+ -
+ set
NotificationPeriod
- -
- reset
Timeout
+ -
+ set
ResetTimeout
- -
- timeout
+
-
+ set
Timeout
diff --git a/docs/@vertx/circuit-breaker/classes/hystrixmetrichandler.html b/docs/@vertx/circuit-breaker/classes/hystrixmetrichandler.html
index 955b04161..8b022e4b3 100644
--- a/docs/@vertx/circuit-breaker/classes/hystrixmetrichandler.html
+++ b/docs/@vertx/circuit-breaker/classes/hystrixmetrichandler.html
@@ -72,6 +72,12 @@ Hierarchy
+
+ Implements
+
+ - any
+
+
Index
@@ -98,7 +104,7 @@ handle
-
Parameters
@@ -122,12 +128,12 @@ Static create
-
-
Creates the handler, using the default notification address.
+ Creates the handler, using the default notification address.
Parameters
@@ -145,12 +151,12 @@ Returns
- Creates the handler.
+ Creates the handler.
Parameters
diff --git a/docs/@vertx/cofig-redis/index.html b/docs/@vertx/cofig-redis/index.html
index 1ee33f28d..e91d3a714 100644
--- a/docs/@vertx/cofig-redis/index.html
+++ b/docs/@vertx/cofig-redis/index.html
@@ -62,6 +62,39 @@ @vertx/cofig-redis
+
+ 
+ Generated JavaScript bindings for Eclipse Vert.x.
+ Documentation
+
+ - API Docs
+ - NPM module
+
+ Usage
+ Import the required API
/Enum
/DataObject
and profit!
+ // Base API
+const Api = require('@vertx/config');
+// Base ENUMs
+const Enums = require('@vertx/config/enums');
+// DataObject's
+const Options = require('@vertx/config/options');
+
+// refer to the API docs for specific help...
+
+// your code here!!!
+
+ Typescript
+ This package includes Typescript typedefinitions and your IDE should find then automatically.
+ When working in a project you can enable type hinting for the runtime as:
+ /// <definition types="@vertx/core/runtime" />
+// @ts-check
+
+// your TypeScript code here...
+ Links
+
+ - Eclipse Vert.x
+ - ES4X
+
+
+
+
+
Set an handler to be called when no more notifications will be received.
+Set an handler to be called when no more notifications will be received.