- 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 TypeMethodDescriptionvoidafterAcquiredOrCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) voidafterAcquiringOrCreating(String poolId) voidafterClosed(String poolId) voidafterConnectionCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) voidafterConnectionReleased(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) voidafterCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> creatingEvent) voidafterFailedToCreate(String poolId) voidafterTimedOutToAcquireOrCreate(String poolId) voidbeforeAcquiringOrCreating(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) voidbeforeCreating(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> creatingEvent) org.neo4j.bolt.connection.ListenerEvent<?>voidregisterPoolMetrics(String poolId, org.neo4j.bolt.connection.BoltServerAddress serverAddress, IntSupplier inUseSupplier, IntSupplier idleSupplier) voidremovePoolMetrics(String poolId) toString()static DevNullMetricsListenerReturns 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:
beforeCreatingin interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterCreated
- Specified by:
afterCreatedin interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterFailedToCreate
- Specified by:
afterFailedToCreatein interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterClosed
- Specified by:
afterClosedin interfaceorg.neo4j.bolt.connection.MetricsListener
-
beforeAcquiringOrCreating
public void beforeAcquiringOrCreating(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) - Specified by:
beforeAcquiringOrCreatingin interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterAcquiringOrCreating
- Specified by:
afterAcquiringOrCreatingin interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterAcquiredOrCreated
public void afterAcquiredOrCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> acquireEvent) - Specified by:
afterAcquiredOrCreatedin interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterTimedOutToAcquireOrCreate
- Specified by:
afterTimedOutToAcquireOrCreatein interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterConnectionCreated
public void afterConnectionCreated(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) - Specified by:
afterConnectionCreatedin interfaceorg.neo4j.bolt.connection.MetricsListener
-
afterConnectionReleased
public void afterConnectionReleased(String poolId, org.neo4j.bolt.connection.ListenerEvent<?> inUseEvent) - Specified by:
afterConnectionReleasedin interfaceorg.neo4j.bolt.connection.MetricsListener
-
createListenerEvent
public org.neo4j.bolt.connection.ListenerEvent<?> createListenerEvent()- Specified by:
createListenerEventin interfaceorg.neo4j.bolt.connection.MetricsListener
-
registerPoolMetrics
public void registerPoolMetrics(String poolId, org.neo4j.bolt.connection.BoltServerAddress serverAddress, IntSupplier inUseSupplier, IntSupplier idleSupplier) - Specified by:
registerPoolMetricsin interfaceorg.neo4j.bolt.connection.MetricsListener
-
removePoolMetrics
- Specified by:
removePoolMetricsin interfaceorg.neo4j.bolt.connection.MetricsListener
-
toString
- Overrides:
toStringin classEnum<DevNullMetricsListener>
-