Codota Logo
AgentHeartBeat
Code IndexAdd Codota to your IDE (free)

How to use
AgentHeartBeat
in
scouter.agent.counter.task

Best Java code snippets using scouter.agent.counter.task.AgentHeartBeat (Showing top 19 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: scouter-project/scouter

@Counter
public void alive(CounterBasket pw) {
  DataProxy.sendHeartBeat(getMainObject());
  Enumeration<ObjectPack> en = objects.values();
  while (en.hasMoreElements()) {
    DataProxy.sendHeartBeat(en.nextElement());
  }
}
origin: scouter-project/scouter

  String objType = getDataSourceType();
  AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
String objType = getReqProcType();
AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
add(objName, mbean, objType, ValueEnum.DECIMAL, "bytesReceived",
    CounterConstants.REQUESTPROCESS_BYTES_RECEIVED);
origin: scouter-project/scouter

AgentHeartBeat.clearSubObjects();
dirtyConfig = false;
origin: scouter-project/scouter

AgentHeartBeat.clearSubObjects();
dirtyConfig = false;
origin: scouter-project/scouter

@Counter
public void alive(CounterBasket pw) {
  DataProxy.sendHeartBeat(getMainObject());
  Enumeration<ObjectPack> en = objects.values();
  while (en.hasMoreElements()) {
    DataProxy.sendHeartBeat(en.nextElement());
  }
}
origin: scouter-project/scouter

  String objType = getDataSourceType();
  AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
String objType = getReqProcType();
AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
add(objName, mbean, objType, ValueEnum.DECIMAL, "bytesReceived",
    CounterConstants.REQUESTPROCESS_BYTES_RECEIVED);
origin: scouter-project/scouter

if ((collectCnt <= 40 && collectCnt % 5 == 0) || ObjTypeDetector.dirtyConfig) {
  if (ObjTypeDetector.dirtyConfig) {
    AgentHeartBeat.clearSubObjects();
    ObjTypeDetector.dirtyConfig = false;
origin: scouter-project/scouter

@Counter
public void alive(CounterBasket pw) {
  DataProxy.sendHeartBeat(getMainObject());
  Enumeration<ObjectPack> en = objects.values();
  while (en.hasMoreElements()) {
    DataProxy.sendHeartBeat(en.nextElement());
  }
}
origin: scouter-project/scouter

String objName = conf.getObjName() + "/" + checkObjName(port);
String objType = getReqProcType();
AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
add(objName, mbean, objType, ValueEnum.DECIMAL, "bytesReceived",
    CounterConstants.REQUESTPROCESS_BYTES_RECEIVED);
  AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
  add(objName, mbean, objType, ValueEnum.DECIMAL, "numActive",
      CounterConstants.DATASOURCE_CONN_ACTIVE);
origin: scouter-project/scouter

if ((collectCnt <= 40 && collectCnt % 5 == 0) || ObjTypeDetector.dirtyConfig) {
  if (ObjTypeDetector.dirtyConfig) {
    AgentHeartBeat.clearSubObjects();
    ObjTypeDetector.dirtyConfig = false;
origin: io.github.scouter-project/scouter-agent-java

@Counter
public void alive(CounterBasket pw) {
  DataProxy.sendHeartBeat(getMainObject());
  Enumeration<ObjectPack> en = objects.values();
  while (en.hasMoreElements()) {
    DataProxy.sendHeartBeat(en.nextElement());
  }
}
origin: scouter-project/scouter

String objName = conf.getObjName() + "/" + checkObjName(port);
String objType = getReqProcType();
AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
add(objName, mbean, objType, ValueEnum.DECIMAL, "bytesReceived",
    CounterConstants.REQUESTPROCESS_BYTES_RECEIVED);
  AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
  add(objName, mbean, objType, ValueEnum.DECIMAL, "numActive",
      CounterConstants.DATASOURCE_CONN_ACTIVE);
origin: io.github.scouter-project/scouter-agent-java

AgentHeartBeat.clearSubObjects();
dirtyConfig = false;
origin: scouter-project/scouter

objNames.add(objName);
int objHash = HashUtil.hash(objName);
AgentHeartBeat.addObject(CounterConstants.JAVA, objHash, objName);
origin: io.github.scouter-project/scouter-agent-java

if ((collectCnt <= 40 && collectCnt % 5 == 0) || ObjTypeDetector.dirtyConfig) {
  if (ObjTypeDetector.dirtyConfig) {
    AgentHeartBeat.clearSubObjects();
    ObjTypeDetector.dirtyConfig = false;
origin: scouter-project/scouter

objNames.add(objName);
int objHash = HashUtil.hash(objName);
AgentHeartBeat.addObject(CounterConstants.JAVA, objHash, objName);
origin: io.github.scouter-project/scouter-agent-java

  String objType = getDataSourceType();
  AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
String objType = getReqProcType();
AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
add(objName, mbean, objType, ValueEnum.DECIMAL, "bytesReceived",
    CounterConstants.REQUESTPROCESS_BYTES_RECEIVED);
origin: io.github.scouter-project/scouter-agent-java

String objName = conf.getObjName() + "/" + checkObjName(port);
String objType = getReqProcType();
AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
add(objName, mbean, objType, ValueEnum.DECIMAL, "bytesReceived",
    CounterConstants.REQUESTPROCESS_BYTES_RECEIVED);
  AgentHeartBeat.addObject(objType, HashUtil.hash(objName), objName);
  add(objName, mbean, objType, ValueEnum.DECIMAL, "numActive",
      CounterConstants.DATASOURCE_CONN_ACTIVE);
origin: io.github.scouter-project/scouter-agent-java

objNames.add(objName);
int objHash = HashUtil.hash(objName);
AgentHeartBeat.addObject(CounterConstants.JAVA, objHash, objName);
scouter.agent.counter.taskAgentHeartBeat

Most used methods

  • getMainObject
  • addObject
  • clearSubObjects

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now