Examples of toc()


Examples of com.cloudcontrolled.api.client.util.Timer.toc()

  protected <T> Response<T> doPut(WebClient webClient, Request<T> request) {
    webClient = webClient.path(inquirePath(request));

    Timer timer = Timer.tic();
    javax.ws.rs.core.Response cxfResponse = webClient.put(RequestUtil.getBodyAsMultiValuedMap(request));
    timer.toc();

    log.debug(cxfResponse.getStatus() + " " + webClient.getCurrentURI() + " took " + timer.getDifference() + "ms");

    Response<T> response = toResponse(timer, cxfResponse, request);
View Full Code Here

Examples of com.cloudcontrolled.api.client.util.Timer.toc()

  protected <T> Response<T> doDelete(WebClient webClient, Request<T> request) {
    webClient = webClient.path(inquirePath(request));

    Timer timer = Timer.tic();
    javax.ws.rs.core.Response cxfResponse = webClient.delete();
    timer.toc();

    log.debug(cxfResponse.getStatus() + " " + webClient.getCurrentURI() + " took " + timer.getDifference() + "ms");

    Response<T> response = toResponse(timer, cxfResponse, request);
View Full Code Here

Examples of net.sourceforge.aprog.tools.TicToc.toc()

          $Primitive.class.getSimpleName(), primitive,
          SERIAL_VERSION_UID_TEMPLATE, random.nextLong() + "L"
      );
    }
   
    System.out.println("Source generation done in " + timer.toc() + " ms");
  }
 
}
View Full Code Here

Examples of org.apache.maven.doxia.module.fo.FoAggregateSink.toc()

            sink.coverPage();

            if ( tocPosition == FoAggregateSink.TOC_START )
            {
                sink.toc();
            }

            if ( ( documentModel.getToc() == null ) || ( documentModel.getToc().getItems() == null ) )
            {
                getLogger().info( "No TOC is defined in the document descriptor. Merging all documents." );
View Full Code Here

Examples of org.apache.maven.doxia.module.fo.FoAggregateSink.toc()

                mergeSourcesFromTOC( documentModel.getToc(), sink, context );
            }

            if ( tocPosition == FoAggregateSink.TOC_END )
            {
                sink.toc();
            }

            sink.endDocument();
        }
        finally
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.