Codota Logo
IpcSenderService.getRuntimeStat
Code IndexAdd Codota to your IDE (free)

How to use
getRuntimeStat
method
in
com.nextdoor.bender.ipc.IpcSenderService

Best Java code snippets using com.nextdoor.bender.ipc.IpcSenderService.getRuntimeStat (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: Nextdoor/bender

this.getRuntimeStat().join();
origin: Nextdoor/bender

this.getRuntimeStat().join();
origin: Nextdoor/bender

/**
 * Drains buffer and sends batch asynchronously via {@link Transport}.
 *
 * @param buffer the buffer to send.
 * @param partitions the partitions associated with the buffer.
 */
private void send(TransportBuffer buffer, LinkedHashMap<String, String> partitions) {
 if (buffer.isEmpty()) {
  return;
 }
 this.threadCounter.incrementAndGet();
 TransportThread tt = new TransportThread(transportFactory, buffer, partitions,
   this.threadCounter, this.hasUnrecoverableException, getRuntimeStat().fork(),
   getErrorCountStat(), getSuccessCountStat(), getContext());
 tt.setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
  public void uncaughtException(Thread th, Throwable ex) {
   logger.error(String.format("transport thread %s failed", th.getName()), ex);
  }
 });
 this.pool.execute(tt);
}
origin: Nextdoor/bender

/**
 * Drains buffer and sends batch asynchronously via {@link Transport}.
 *
 * @param buffer the buffer to send.
 * @param partitions the partitions associated with the buffer.
 */
private void send(TransportBuffer buffer, LinkedHashMap<String, String> partitions) {
 if (buffer.isEmpty()) {
  return;
 }
 this.threadCounter.incrementAndGet();
 TransportThread tt = new TransportThread(transportFactory, buffer, partitions,
   this.threadCounter, this.hasUnrecoverableException, getRuntimeStat().fork(),
   getErrorCountStat(), getSuccessCountStat(), getContext());
 tt.setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
  public void uncaughtException(Thread th, Throwable ex) {
   logger.error(String.format("transport thread %s failed", th.getName()), ex);
  }
 });
 this.pool.execute(tt);
}
com.nextdoor.bender.ipcIpcSenderServicegetRuntimeStat

Popular methods of IpcSenderService

  • <init>
  • add
    Adds single event to internal buffer. If buffer fills up then it is drained and sent asynchronously.
  • flush
    Sends remaining contents of all buffers and waits for all calls to finish.
  • getSuccessCountStat
  • getContext
  • getErrorCountStat
  • send
    Drains buffer and sends batch asynchronously via Transport.
  • setContext
  • shutdown
  • getTransportFactory
  • setErrorCountStat
  • setRuntimeStat
  • setErrorCountStat,
  • setRuntimeStat,
  • setSuccessCountStat,
  • setTransportFactory

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • onRequestPermissionsResult (Fragment)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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