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

How to use
RpcServerMetricsCollector
in
ch.squaredesk.nova.comm.rpc

Best Java code snippets using ch.squaredesk.nova.comm.rpc.RpcServerMetricsCollector (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: ch.squaredesk.nova/comm

protected RpcServer(String identifier, MessageTranscriber<TransportMessageType> messageTranscriber, Metrics metrics) {
  requireNonNull(metrics, "metrics must not be null");
  this.messageTranscriber = messageTranscriber;
  this.metricsCollector = new RpcServerMetricsCollector(identifier, metrics);
}
origin: ch.squaredesk.nova/comm

public void requestReceived (Object request) {
  String id = request == null ? "null" : request.getClass().getSimpleName();
  Meter specificMeter = metrics.getMeter(identifierPrefix, "requests", id);
  mark(specificMeter,totalNumberOfReceivedRequests);
}
origin: ch.squaredesk.nova/http

            metricsCollector.requestCompleted(incomingMessage, replyInfo._1);
          } catch (Exception e) {
            metricsCollector.requestCompletedExceptionally(incomingMessage, e);
            logger.error("An error occurred trying to send HTTP response " + replyInfo, e);
            try {
    );
metricsCollector.requestReceived(rpci.request);
stream.onNext(rpci);
origin: ch.squaredesk.nova/comm

public void requestCompleted(Object request, Object reply) {
  String id = request == null ? "null" : request.getClass().getSimpleName();
  Meter specificMeter = metrics.getMeter(identifierPrefix, "completed", id);
  mark(specificMeter, totalNumberOfCompletedRequests);
}
origin: ch.squaredesk.nova/comm

public void requestCompletedExceptionally(Object request, Throwable error) {
  String id = request == null ? "null" : request.getClass().getSimpleName();
  Meter specificMeter = metrics.getMeter(identifierPrefix, "error", id);
  mark(specificMeter, totalNumberOfErrorRequests);
}
ch.squaredesk.nova.comm.rpcRpcServerMetricsCollector

Most used methods

  • <init>
  • mark
  • requestCompleted
  • requestCompletedExceptionally
  • requestReceived

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getExternalFilesDir (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Kernel (java.awt.image)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
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