jmxwrapper

package
v9.9.9+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 2 Imported by: 12

Documentation

Overview

Package jmxwrapper contains varaibles for using github.com/newrelic/infra-integrations-sdk/jmx package while allowing everything to be mocked for testing.

Index

Constants

This section is empty.

Variables

View Source
var (
	// JMXLock is intended to be used to lock around all JMX calls.
	JMXLock sync.Mutex

	// JMXQuery is a wrapper around infra-integrations-sdk/jmx functions to allow
	// easier mocking during tests
	JMXQuery = jmx.Query

	// JMXOpen is a wrapper around infra-integrations-sdk/jmx functions to allow
	// easier mocking during tests
	JMXOpen = jmx.Open

	// JMXClose is a wrapper around infra-integrations-sdk/jmx functions to allow
	// easier mocking during tests
	JMXClose = jmx.Close
)

JMX variable

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL