Tabnine Logo
DataProxy.sendServiceName
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: scouter-project/scouter

public static int sendServiceName(String service) {
  int hash = HashUtil.hash(service);
  sendServiceName(hash,service);
  return hash;
}
public static void sendServiceName(int hash, String service) {
origin: scouter-project/scouter

public static int sendServiceName(String service) {
  int hash = HashUtil.hash(service);
  sendServiceName(hash,service);
  return hash;
}
public static void sendServiceName(int hash, String service) {
origin: scouter-project/scouter

public static XLogPack txperf(long endtime, long txid, int service_hash, String serviceName, int elapsed, int cpu,
               int sqlCount, int sqlTime, String remoteAddr, String error, long visitor) {
  XLogPack pack = new XLogPack();
  pack.cpu = cpu;
  pack.endTime = endtime;
  pack.elapsed = elapsed;
  DataProxy.sendServiceName(service_hash, serviceName);
  pack.service = service_hash;
  pack.kbytes = 0;
  pack.status = 0;
  pack.sqlCount = sqlCount;
  pack.sqlTime = sqlTime;
  pack.txid = txid;
  pack.ipaddr = IPUtil.toBytes(remoteAddr);
  pack.userid = visitor;
  if (error != null) {
    pack.error = DataProxy.sendError(error);
  }
  MeterService.getInstance().add(pack.elapsed, pack.sqlTime, pack.apicallTime, pack.queuingTime, error != null);
  DataProxy.sendXLog(pack);
  MeterUsers.add(pack.userid);
  return pack;
}
origin: scouter-project/scouter

public static XLogPack txperf(long endtime, long txid, int service_hash, String serviceName, int elapsed, int cpu,
               int sqlCount, int sqlTime, String remoteAddr, String error, long visitor) {
  XLogPack pack = new XLogPack();
  pack.cpu = cpu;
  pack.endTime = endtime;
  pack.elapsed = elapsed;
  DataProxy.sendServiceName(service_hash, serviceName);
  pack.service = service_hash;
  pack.kbytes = 0;
  pack.status = 0;
  pack.sqlCount = sqlCount;
  pack.sqlTime = sqlTime;
  pack.txid = txid;
  pack.ipaddr = IPUtil.toBytes(remoteAddr);
  pack.userid = visitor;
  if (error != null) {
    pack.error = DataProxy.sendError(error);
  }
  MeterService.getInstance().add(pack.elapsed, pack.sqlTime, pack.apicallTime, pack.queuingTime, error != null);
  DataProxy.sendXLog(pack);
  MeterUsers.add(pack.userid);
  return pack;
}
origin: scouter-project/scouter

ctx.serviceHash = DataProxy.sendServiceName(ctx.serviceName);
pack.service = ctx.serviceHash;
pack.threadNameHash = DataProxy.sendHashedMessage(ctx.threadName);
origin: scouter-project/scouter

ctx.serviceHash = DataProxy.sendServiceName(ctx.serviceName);
pack.service = ctx.serviceHash;
pack.threadNameHash = DataProxy.sendHashedMessage(ctx.threadName);
origin: scouter-project/scouter

pack.profileCount = ctx.profileCount;
DataProxy.sendServiceName(ctx.serviceHash, ctx.serviceName);
pack.service = ctx.serviceHash;
pack.threadNameHash = DataProxy.sendHashedMessage(ctx.threadName);
origin: scouter-project/scouter

pack.profileCount = ctx.profileCount;
DataProxy.sendServiceName(ctx.serviceHash, ctx.serviceName);
pack.service = ctx.serviceHash;
pack.threadNameHash = DataProxy.sendHashedMessage(ctx.threadName);
origin: io.github.scouter-project/scouter-agent-java

public static int sendServiceName(String service) {
  int hash = HashUtil.hash(service);
  sendServiceName(hash,service);
  return hash;
}
public static void sendServiceName(int hash, String service) {
origin: io.github.scouter-project/scouter-agent-java

public static XLogPack txperf(long endtime, long txid, int service_hash, String serviceName, int elapsed, int cpu,
               int sqlCount, int sqlTime, String remoteAddr, String error, long visitor) {
  XLogPack pack = new XLogPack();
  pack.cpu = cpu;
  pack.endTime = endtime;
  pack.elapsed = elapsed;
  DataProxy.sendServiceName(service_hash, serviceName);
  pack.service = service_hash;
  pack.kbytes = 0;
  pack.status = 0;
  pack.sqlCount = sqlCount;
  pack.sqlTime = sqlTime;
  pack.txid = txid;
  pack.ipaddr = IPUtil.toBytes(remoteAddr);
  pack.userid = visitor;
  if (error != null) {
    pack.error = DataProxy.sendError(error);
  }
  MeterService.getInstance().add(pack.elapsed, pack.sqlTime, pack.apicallTime, pack.queuingTime, error != null);
  DataProxy.sendXLog(pack);
  MeterUsers.add(pack.userid);
  return pack;
}
origin: io.github.scouter-project/scouter-agent-java

ctx.serviceHash = DataProxy.sendServiceName(ctx.serviceName);
pack.service = ctx.serviceHash;
pack.threadNameHash = DataProxy.sendHashedMessage(ctx.threadName);
origin: io.github.scouter-project/scouter-agent-java

pack.profileCount = ctx.profileCount;
DataProxy.sendServiceName(ctx.serviceHash, ctx.serviceName);
pack.service = ctx.serviceHash;
pack.threadNameHash = DataProxy.sendHashedMessage(ctx.threadName);
scouter.agent.netio.dataDataProxysendServiceName

Popular methods of DataProxy

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • From CI to AI: The AI layer in your organization
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