MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / init

Method init

lib/insights-client.js:81–88  ·  view source on GitHub ↗

* Initializes the insights client in the background by sending the startup event and scheduling status events at * regular intervals. * @returns {undefined}

()

Source from the content-addressed store, hash-verified

79 * @returns {undefined}
80 */
81 init() {
82 this._enabled = this._client.options.monitorReporting.enabled && this._dseSupportsInsights();
83 if (!this._enabled) {
84 return;
85 }
86
87 promiseUtils.toBackground(this._init());
88 }
89
90 async _init() {
91 try {

Callers 1

getStartupMessageFunction · 0.95

Calls 2

_dseSupportsInsightsMethod · 0.95
_initMethod · 0.95

Tested by

no test coverage detected