Package | Description |
---|---|
com.mongodb.event |
This package contains cluster and connection event related classes
|
com.mongodb.management |
Contains classes for monitoring the server/driver via Java Management Extensions (JMX).
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionMessageReceivedEvent
An event signifying that a message has been received on a connection.
|
class |
ConnectionMessagesSentEvent
An event signifying that a message has been sent on a connection.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionPoolListener.connectionAdded(ConnectionEvent event)
Invoked when a connection is added to a pool.
|
void |
ConnectionPoolListenerAdapter.connectionAdded(ConnectionEvent event) |
void |
ConnectionPoolEventMulticaster.connectionAdded(ConnectionEvent event) |
void |
ConnectionPoolListener.connectionCheckedIn(ConnectionEvent event)
Invoked when a connection is checked in to a pool.
|
void |
ConnectionPoolListenerAdapter.connectionCheckedIn(ConnectionEvent event) |
void |
ConnectionPoolEventMulticaster.connectionCheckedIn(ConnectionEvent event) |
void |
ConnectionPoolListener.connectionCheckedOut(ConnectionEvent event)
Invoked when a connection is checked out of a pool.
|
void |
ConnectionPoolListenerAdapter.connectionCheckedOut(ConnectionEvent event) |
void |
ConnectionPoolEventMulticaster.connectionCheckedOut(ConnectionEvent event) |
void |
ConnectionListener.connectionClosed(ConnectionEvent event)
Publish a connection message closed event.
|
void |
ConnectionEventMulticaster.connectionClosed(ConnectionEvent event) |
void |
ConnectionListenerAdapter.connectionClosed(ConnectionEvent event) |
void |
ConnectionListener.connectionOpened(ConnectionEvent event)
Publish a connection opened event.
|
void |
ConnectionEventMulticaster.connectionOpened(ConnectionEvent event) |
void |
ConnectionListenerAdapter.connectionOpened(ConnectionEvent event) |
void |
ConnectionPoolListener.connectionRemoved(ConnectionEvent event)
Invoked when a connection is removed from a pool.
|
void |
ConnectionPoolListenerAdapter.connectionRemoved(ConnectionEvent event) |
void |
ConnectionPoolEventMulticaster.connectionRemoved(ConnectionEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
JMXConnectionPoolListener.connectionAdded(ConnectionEvent event) |
void |
JMXConnectionPoolListener.connectionCheckedIn(ConnectionEvent event) |
void |
JMXConnectionPoolListener.connectionCheckedOut(ConnectionEvent event) |
void |
JMXConnectionPoolListener.connectionRemoved(ConnectionEvent event) |
Copyright © 2016. All Rights Reserved.