Codota Logo
DataProxy.sendProfile
Code IndexAdd Codota to your IDE (free)

How to use
sendProfile
method
in
scouter.agent.netio.data.DataProxy

Best Java code snippets using scouter.agent.netio.data.DataProxy.sendProfile (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: scouter-project/scouter

/**
 * send the Steps[] data
 * @param ok : send the data or not
 */
public void close(boolean ok) {
  checkDumpStep();
  if (ok && pos > 0) {
    StepSingle[] newSteps = new StepSingle[pos];
    System.arraycopy(steps, 0, newSteps, 0, pos);
    DataProxy.sendProfile(newSteps, context);
  }
}
origin: scouter-project/scouter

/**
 * (syn: addStep)
 * assign a given step to steps[pos++]
 * @param stepSingle
 */
protected void process(StepSingle stepSingle) {
  checkDumpStep();
  steps[pos++] = stepSingle;
  if (pos >= steps.length) {
    Step[] o = steps;
    steps = new Step[conf.profile_step_max_count];
    pos = 0;
    DataProxy.sendProfile(o, context);
  }
}
origin: scouter-project/scouter

/**
 * (syn: addStep)
 * assign a given step to steps[pos++]
 * @param stepSingle
 */
protected void process(StepSingle stepSingle) {
  checkDumpStep();
  steps[pos++] = stepSingle;
  if (pos >= steps.length) {
    Step[] o = steps;
    steps = new Step[conf.profile_step_max_count];
    pos = 0;
    DataProxy.sendProfile(o, context);
  }
}
origin: scouter-project/scouter

/**
 * send the Steps[] data
 * @param ok : send the data or not
 */
public void close(boolean ok) {
  checkDumpStep();
  if (ok && pos > 0) {
    StepSingle[] newSteps = new StepSingle[pos];
    System.arraycopy(steps, 0, newSteps, 0, pos);
    DataProxy.sendProfile(newSteps, context);
  } else {
    TraceContext context = TraceContextManager.getContext();
    context.profileCount = context.profileCount * -1; //already sent profile size.(set minus.)
  }
}
origin: scouter-project/scouter

protected void process() {
  List<Step> steps = new ArrayList<Step>(totalCount);
  toArray(methods, steps);
  toArray(sqls, steps);
  toArray(apicalls, steps);
  toArray(sockets, steps);
  totalCount = 0;
  DataProxy.sendProfile(steps, context);
}
origin: scouter-project/scouter

protected void process() {
  List<Step> steps = new ArrayList<Step>(totalCount);
  toArray(methods, steps);
  toArray(sqls, steps);
  toArray(apicalls, steps);
  toArray(sockets, steps);
  totalCount = 0;
  DataProxy.sendProfile(steps, context);
}
origin: io.github.scouter-project/scouter-agent-java

/**
 * send the Steps[] data
 * @param ok : send the data or not
 */
public void close(boolean ok) {
  checkDumpStep();
  if (ok && pos > 0) {
    StepSingle[] newSteps = new StepSingle[pos];
    System.arraycopy(steps, 0, newSteps, 0, pos);
    DataProxy.sendProfile(newSteps, context);
  }
}
origin: io.github.scouter-project/scouter-agent-java

/**
 * (syn: addStep)
 * assign a given step to steps[pos++]
 * @param stepSingle
 */
protected void process(StepSingle stepSingle) {
  checkDumpStep();
  steps[pos++] = stepSingle;
  if (pos >= steps.length) {
    Step[] o = steps;
    steps = new Step[conf.profile_step_max_count];
    pos = 0;
    DataProxy.sendProfile(o, context);
  }
}
origin: io.github.scouter-project/scouter-agent-java

protected void process() {
  List<Step> steps = new ArrayList<Step>(totalCount);
  toArray(methods, steps);
  toArray(sqls, steps);
  toArray(apicalls, steps);
  toArray(sockets, steps);
  totalCount = 0;
  DataProxy.sendProfile(steps, context);
}
scouter.agent.netio.dataDataProxysendProfile

Popular methods of DataProxy

  • reset
  • sendAlert
  • sendCounter
  • sendDirect
  • sendHeartBeat
  • getSqlHash
  • send
  • sendApicall
  • sendDesc
  • sendError
  • sendGroup
  • sendHashedMessage
  • sendGroup,
  • sendHashedMessage,
  • sendLogin,
  • sendMethodName,
  • sendObjName,
  • sendServiceName,
  • sendSqlText,
  • sendStackElement,
  • sendWebName

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JComboBox (javax.swing)
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