congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AnalyticsHandler.addCallLogToBuffer
Code IndexAdd Tabnine to your IDE (free)

How to use
addCallLogToBuffer
method
in
org.restlet.ext.platform.internal.agent.module.AnalyticsHandler

Best Java code snippets using org.restlet.ext.platform.internal.agent.module.AnalyticsHandler.addCallLogToBuffer (Showing top 4 results out of 315)

origin: org.restlet.jee/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.gae/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.jse/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.osgi/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
org.restlet.ext.platform.internal.agent.moduleAnalyticsHandleraddCallLogToBuffer

Javadoc

Generates a CallLog for the request and adds it to the buffer.

Popular methods of AnalyticsHandler

  • <init>
    Create a new analytics handler with the specified settings.
  • errorSendLog
    Called on permanent errors. Override to add your own behavior.
  • flushLogs
    Creates a new Thread that asynchronously posts call logs to Restlet Cloud
  • postLogs
    Adds a task to the executor service to post call logs to the Restlet Cloud analytics service. If the
  • stop

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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