Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
{"version":3,"sources":["webpack:///./src/pages/ThreadDumpPage.jsx"],"names":["NodesStore","StoreProvider","getStore","CurrentUserStore","ClusterOverviewStore","ThreadDumpPage","createReactClass","displayName","propTypes","params","PropTypes","object","isRequired","mixins","Reflux","connect","connectFilter","state","nodes","this","props","nodeId","componentDidMount","threadDump","then","setState","_isLoading","node","render","title","short_node_id","hostname","DateTime","now","toString","Formats","COMPLETE","className","md","withParams"],"mappings":"8GAAA,+LA2BMA,EAAaC,IAAcC,SAAS,SACpCC,EAAmBF,IAAcC,SAAS,eAC1CE,EAAuBH,IAAcC,SAAS,mBAMpD,IAAMG,EAAiBC,IAAiB,CACtCC,YAAa,iBAEbC,UAAW,CACTC,OAAQC,IAAUC,OAAOC,YAG3BC,OAAQ,CAACC,IAAOC,QAAQZ,GAAmBW,IAAOE,cAAchB,EAAY,QAX9E,SAAoBiB,GAClB,OAAOA,EAAMC,MAAQD,EAAMC,MAAMC,KAAKC,MAAMX,OAAOY,QAAUJ,EAAMC,UAYnEI,kBATsC,WASlB,WAClBlB,EAAqBmB,WAAWJ,KAAKC,MAAMX,OAAOY,QAAQG,MAAK,SAACD,GAAD,OAAgB,EAAKE,SAAS,CAAEF,WAAYA,QAG7GG,WAbsC,WAcpC,OAAQP,KAAKF,MAAMU,MAGrBC,OAjBsC,WAkBpC,GAAIT,KAAKO,aACP,OAAO,kBAAC,KAAD,MAGT,IAAMG,EACJ,qDACuBV,KAAKF,MAAMU,KAAKG,cADvC,MACyDX,KAAKF,MAAMU,KAAKI,SADzE,IAGE,2CAAiBC,IAASC,MAAMC,SAASF,IAASG,QAAQC,YAIxDb,EAAaJ,KAAKF,MAAMM,WAAa,yBAAKc,UAAU,cAAclB,KAAKF,MAAMM,YAAoB,kBAAC,KAAD,MAEvG,OACE,kBAAC,IAAD,CAAeM,MAAK,8BAAyBV,KAAKF,MAAMU,KAAKG,cAAzC,cAA4DX,KAAKF,MAAMU,KAAKI,WAC9F,6BACE,kBAAC,IAAD,CAAYF,MAAOA,GACjB,gCAEF,kBAAC,IAAD,CAAKQ,UAAU,WACb,kBAAC,IAAD,CAAKC,GAAI,IACNf,SASAgB,sBAAWlC","file":"57e33c6c-122.11b9f72925818240e61d.js","sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\n\nimport { Row, Col } from 'components/graylog';\nimport { DocumentTitle, PageHeader, Spinner } from 'components/common';\nimport StoreProvider from 'injection/StoreProvider';\nimport DateTime from 'logic/datetimes/DateTime';\nimport withParams from 'routing/withParams';\n\nconst NodesStore = StoreProvider.getStore('Nodes');\nconst CurrentUserStore = StoreProvider.getStore('CurrentUser');\nconst ClusterOverviewStore = StoreProvider.getStore('ClusterOverview');\n\nfunction nodeFilter(state) {\n return state.nodes ? state.nodes[this.props.params.nodeId] : state.nodes;\n}\n\nconst ThreadDumpPage = createReactClass({\n displayName: 'ThreadDumpPage',\n\n propTypes: {\n params: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.connect(CurrentUserStore), Reflux.connectFilter(NodesStore, 'node', nodeFilter)],\n\n componentDidMount() {\n ClusterOverviewStore.threadDump(this.props.params.nodeId).then((threadDump) => this.setState({ threadDump: threadDump }));\n },\n\n _isLoading() {\n return !this.state.node;\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const title = (\n \n Thread dump of node {this.state.node.short_node_id} / {this.state.node.hostname}\n \n Taken at {DateTime.now().toString(DateTime.Formats.COMPLETE)}\n \n );\n\n const threadDump = this.state.threadDump ?