Examples of TimingInterceptor


Examples of org.waveprotocol.box.server.stat.TimingInterceptor

    this.enableProfiling = enableProfiling;
  }

  @Override
  protected void configure() {
    TimingInterceptor interceptor = new TimingInterceptor();
    requestInjection(interceptor);
    if (enableProfiling) {
      bindInterceptor(any(), annotatedWith(Timed.class), interceptor);
    }
    Timing.setScope(new MultiThreadedRequestScope());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.