ConnectionListener

reactivemongo.datadog.ConnectionListener
final class ConnectionListener(hostname: String, client: StatsDClient) extends ConnectionListener

Listener definition for the connection events.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def nodeSetUpdated(supervisor: String, connection: String, previous: NodeSetInfo, updated: NodeSetInfo): Unit

The node set of the connection pool has been updated. This is fired asynchronously.

The node set of the connection pool has been updated. This is fired asynchronously.

Attributes

connection

$connectionParam

previous

the previous node set

supervisor

$supervisorParam

updated

the new/updated node set

def poolCreated(options: MongoConnectionOptions, supervisor: String, connection: String): Unit

The connection pool is initialized.

The connection pool is initialized.

Attributes

connection

$connectionParam

options

the connection options

supervisor

$supervisorParam

def poolShutdown(supervisor: String, connection: String): Unit

The connection is being shut down.

The connection is being shut down.

Attributes

connection

$connectionParam

supervisor

$supervisorParam

Inherited fields

lazy val logger: Logger

Logger available for the listener implementation.

Logger available for the listener implementation.

Attributes

Inherited from:
ConnectionListener