- All Implemented Interfaces:
Serializable,Comparable<DevNullMetricsListener>,Constable,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, ListenerEvent<?> acquireEvent) voidafterAcquiringOrCreating(String poolId) voidafterClosed(String poolId) voidafterConnectionCreated(String poolId, ListenerEvent<?> inUseEvent) voidafterConnectionReleased(String poolId, ListenerEvent<?> inUseEvent) voidafterCreated(String poolId, ListenerEvent<?> creatingEvent) voidafterFailedToCreate(String poolId) voidafterTimedOutToAcquireOrCreate(String poolId) voidbeforeAcquiringOrCreating(String poolId, ListenerEvent<?> acquireEvent) voidbeforeCreating(String poolId, ListenerEvent<?> creatingEvent) voidregisterPoolMetrics(String poolId, 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 interfaceMetricsListener
-
afterCreated
- Specified by:
afterCreatedin interfaceMetricsListener
-
afterFailedToCreate
- Specified by:
afterFailedToCreatein interfaceMetricsListener
-
afterClosed
- Specified by:
afterClosedin interfaceMetricsListener
-
beforeAcquiringOrCreating
- Specified by:
beforeAcquiringOrCreatingin interfaceMetricsListener
-
afterAcquiringOrCreating
- Specified by:
afterAcquiringOrCreatingin interfaceMetricsListener
-
afterAcquiredOrCreated
- Specified by:
afterAcquiredOrCreatedin interfaceMetricsListener
-
afterTimedOutToAcquireOrCreate
- Specified by:
afterTimedOutToAcquireOrCreatein interfaceMetricsListener
-
afterConnectionCreated
- Specified by:
afterConnectionCreatedin interfaceMetricsListener
-
afterConnectionReleased
- Specified by:
afterConnectionReleasedin interfaceMetricsListener
-
createListenerEvent
- Specified by:
createListenerEventin interfaceMetricsListener
-
registerPoolMetrics
public void registerPoolMetrics(String poolId, BoltServerAddress serverAddress, IntSupplier inUseSupplier, IntSupplier idleSupplier) - Specified by:
registerPoolMetricsin interfaceMetricsListener
-
removePoolMetrics
- Specified by:
removePoolMetricsin interfaceMetricsListener
-
toString
- Overrides:
toStringin classEnum<DevNullMetricsListener>
-