Tabnine Logo
Configure.getObjDetectedType
Code IndexAdd Tabnine to your IDE (free)

How to use
getObjDetectedType
method
in
scouter.agent.Configure

Best Java code snippets using scouter.agent.Configure.getObjDetectedType (Showing top 4 results out of 315)

origin: scouter-project/scouter

private ObjectPack getMainObject() {
  Configure conf = Configure.getInstance();
  ObjectPack p = new ObjectPack();
  p.objType = conf.obj_type;
  p.objHash = conf.getObjHash();
  p.objName = conf.getObjName();
  p.version = Version.getAgentFullVersion();
  p.address = TcpWorker.localAddr;
  if(StringUtil.isNotEmpty(conf.getObjDetectedType())){
    p.tags.put(TAG_OBJ_DETECTED_TYPE, conf.getObjDetectedType());
  }
  return p;
}
origin: scouter-project/scouter

private ObjectPack getMainObject() {
  Configure conf = Configure.getInstance();
  ObjectPack p = new ObjectPack();
  p.objType = conf.obj_type;
  p.objHash = conf.getObjHash();
  p.objName = conf.getObjName();
  p.version = Version.getAgentFullVersion();
  p.address = TcpWorker.localAddr;
  if(StringUtil.isNotEmpty(conf.getObjExtType())){
    p.tags.put(TAG_OBJ_EXT_TYPE, conf.getObjExtType());
  }
  if(StringUtil.isNotEmpty(conf.getObjDetectedType())){
    p.tags.put(TAG_OBJ_DETECTED_TYPE, conf.getObjDetectedType());
  }
  if (ToolsMainFactory.activeStack) {
    p.tags.put(TAG_ACTIVE_STACK, new BooleanValue(true));
  }
  p.tags.put(TAG_AUTODUMP_CPU_ENABLED, new BooleanValue(conf.autodump_cpu_exceeded_enabled));
  if (conf.autodump_cpu_exceeded_enabled) {
    p.tags.put(TAG_AUTODUMP_CPU_THRESHOLD, conf.autodump_cpu_exceeded_threshold_pct);
    p.tags.put(TAG_AUTODUMP_CPU_DURATION, conf.autodump_cpu_exceeded_duration_ms);
  }
  return p;
}
origin: scouter-project/scouter

private ObjectPack getMainObject() {
  Configure conf = Configure.getInstance();
  ObjectPack p = new ObjectPack();
  p.objType = conf.obj_type;
  p.objHash = conf.getObjHash();
  p.objName = conf.getObjName();
  p.version = Version.getAgentFullVersion();
  p.address = TcpWorker.localAddr;
  if(StringUtil.isNotEmpty(conf.getObjExtType())){
    p.tags.put(TAG_OBJ_EXT_TYPE, conf.getObjExtType());
  }
  if(StringUtil.isNotEmpty(conf.getObjDetectedType())){
    p.tags.put(TAG_OBJ_DETECTED_TYPE, conf.getObjDetectedType());
  }
  if (ToolsMainFactory.activeStack) {
    p.tags.put(TAG_ACTIVE_STACK, new BooleanValue(true));
  }
  p.tags.put(TAG_AUTODUMP_CPU_ENABLED, new BooleanValue(conf.autodump_cpu_exceeded_enabled));
  if (conf.autodump_cpu_exceeded_enabled) {
    p.tags.put(TAG_AUTODUMP_CPU_THRESHOLD, conf.autodump_cpu_exceeded_threshold_pct);
    p.tags.put(TAG_AUTODUMP_CPU_DURATION, conf.autodump_cpu_exceeded_duration_ms);
  }
  return p;
}
origin: io.github.scouter-project/scouter-agent-java

private ObjectPack getMainObject() {
  Configure conf = Configure.getInstance();
  ObjectPack p = new ObjectPack();
  p.objType = conf.obj_type;
  p.objHash = conf.getObjHash();
  p.objName = conf.getObjName();
  p.version = Version.getAgentFullVersion();
  p.address = TcpWorker.localAddr;
  if(StringUtil.isNotEmpty(conf.getObjExtType())){
    p.tags.put(TAG_OBJ_EXT_TYPE, conf.getObjExtType());
  }
  if(StringUtil.isNotEmpty(conf.getObjDetectedType())){
    p.tags.put(TAG_OBJ_DETECTED_TYPE, conf.getObjDetectedType());
  }
  if (ToolsMainFactory.activeStack) {
    p.tags.put(TAG_ACTIVE_STACK, new BooleanValue(true));
  }
  p.tags.put(TAG_AUTODUMP_CPU_ENABLED, new BooleanValue(conf.autodump_cpu_exceeded_enabled));
  if (conf.autodump_cpu_exceeded_enabled) {
    p.tags.put(TAG_AUTODUMP_CPU_THRESHOLD, conf.autodump_cpu_exceeded_threshold_pct);
    p.tags.put(TAG_AUTODUMP_CPU_DURATION, conf.autodump_cpu_exceeded_duration_ms);
  }
  return p;
}
scouter.agentConfiguregetObjDetectedType

Popular methods of Configure

  • <init>
  • apply
  • getBoolean
  • getConfigureDesc
  • getConfigureValueType
  • getInstance
  • getInt
  • getKeyValueInfo
  • getLong
  • getObjHash
  • getObjName
  • getPropertyFile
  • getObjName,
  • getPropertyFile,
  • getStringSet,
  • getValue,
  • loadText,
  • printConfig,
  • reload,
  • resetObjInfo,
  • saveText

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Menu (java.awt)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Reference (javax.naming)
  • JComboBox (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now