- All Implemented Interfaces:
Serializable
,Comparable<DevNullMetricsListener>
,Constable
,org.neo4j.bolt.connection.MetricsListener
public enum DevNullMetricsListener
extends Enum<DevNullMetricsListener>
implements org.neo4j.bolt.connection.MetricsListener
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterAcquiredOrCreated
(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) void
afterAcquiringOrCreating
(String poolId) void
afterClosed
(String poolId) void
afterConnectionCreated
(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) void
afterConnectionReleased
(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) void
afterCreated
(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> creatingEvent) void
afterFailedToCreate
(String poolId) void
afterTimedOutToAcquireOrCreate
(String poolId) void
beforeAcquiringOrCreating
(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) void
beforeCreating
(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> creatingEvent) org.neo4j.bolt.connection.ListenerEvent<?>
void
registerPoolMetrics
(String poolId, org.neo4j.bolt.connection.BoltServerAddress serverAddress, IntSupplier inUseSupplier, IntSupplier idleSupplier) void
removePoolMetrics
(String poolId) toString()
static DevNullMetricsListener
Returns the enum constant of this class with the specified name.static DevNullMetricsListener[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
beforeCreating
- Specified by:
beforeCreating
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterCreated
- Specified by:
afterCreated
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterFailedToCreate
- Specified by:
afterFailedToCreate
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterClosed
- Specified by:
afterClosed
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
beforeAcquiringOrCreating
public void beforeAcquiringOrCreating(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) - Specified by:
beforeAcquiringOrCreating
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterAcquiringOrCreating
- Specified by:
afterAcquiringOrCreating
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterAcquiredOrCreated
public void afterAcquiredOrCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) - Specified by:
afterAcquiredOrCreated
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterTimedOutToAcquireOrCreate
- Specified by:
afterTimedOutToAcquireOrCreate
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterConnectionCreated
public void afterConnectionCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) - Specified by:
afterConnectionCreated
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterConnectionReleased
public void afterConnectionReleased(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) - Specified by:
afterConnectionReleased
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
createListenerEvent
public org.neo4j.bolt.connection.ListenerEvent<?> createListenerEvent()- Specified by:
createListenerEvent
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
registerPoolMetrics
public void registerPoolMetrics(String poolId, org.neo4j.bolt.connection.BoltServerAddress serverAddress, IntSupplier inUseSupplier, IntSupplier idleSupplier) - Specified by:
registerPoolMetrics
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
removePoolMetrics
- Specified by:
removePoolMetrics
in interfaceorg.neo4j.bolt.connection.MetricsListener
-
toString
- Overrides:
toString
in classEnum<DevNullMetricsListener>
-