Class NoopMetricsListener
java.lang.Object
org.neo4j.bolt.connection.netty.impl.NoopMetricsListener
- All Implemented Interfaces:
MetricsListener
-
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) static NoopMetricsListenervoidregisterPoolMetrics(String poolId, BoltServerAddress serverAddress, IntSupplier inUseSupplier, IntSupplier idleSupplier) voidremovePoolMetrics(String poolId)
-
Method Details
-
getInstance
-
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
-