This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.rsocket.RSocket; | |
import io.rsocket.core.RSocketConnector; | |
import io.rsocket.frame.decoder.PayloadDecoder; | |
import io.rsocket.test.PingClient; | |
import io.rsocket.transport.netty.client.TcpClientTransport; | |
import org.HdrHistogram.Recorder; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import reactor.core.publisher.Mono; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.capnproto; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Fork; | |
import org.openjdk.jmh.annotations.Level; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.Scope; | |
import org.openjdk.jmh.annotations.Setup; | |
import org.openjdk.jmh.annotations.State; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package eu.dindoffer.apm.example; | |
import co.elastic.apm.api.ElasticApm; | |
import org.jboss.resteasy.core.ResourceMethodInvoker; | |
import org.jboss.resteasy.core.interception.PostMatchContainerRequestContext; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import javax.ws.rs.container.ContainerRequestContext; | |
import javax.ws.rs.container.ContainerRequestFilter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package eu.dindoffer.wicket.filter; | |
import co.elastic.apm.api.ElasticApm; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:48:37,622 ERROR [io.undertow.request] (default task-4) UT005023: Exception handling request to /wildfly-helloworld/HelloWorld: java.lang.NoClassDefFoundError: co/elastic/apm/api/ElasticApm | |
at org.jboss.as.quickstarts.helloworld.HelloWorldServlet.doGet(HelloWorldServlet.java:61) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) | |
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86) | |
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) | |
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) | |
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) | |
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) | |
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-11-29 14:48:27.657 [apm-server-healthcheck] DEBUG co.elastic.apm.report.ApmServerHealthChecker - Starting healthcheck to http://localhost:8200/ | |
2018-11-29 14:48:27.713 [main] INFO co.elastic.apm.configuration.StartupInfo - Starting Elastic APM 1.1.0 as apm-poc on Java 1.8.0_191 (Oracle Corporation) Linux 4.15.0-39-generic | |
2018-11-29 14:48:27.714 [main] DEBUG co.elastic.apm.configuration.StartupInfo - service_name: 'apm-poc' (source: Java System Properties) | |
2018-11-29 14:48:27.714 [main] DEBUG co.elastic.apm.configuration.StartupInfo - application_packages: 'org.jboss.as.quickstarts.helloworld' (source: Java System Properties) | |
2018-11-29 14:48:27.714 [main] DEBUG co.elastic.apm.configuration.StartupInfo - log_level: 'DEBUG' (source: Java System Properties) | |
2018-11-29 14:48:27.714 [main] DEBUG co.elastic.apm.configuration.StartupInfo - log_file: '/home/mao/work/wfly-apm-poc/poc-wildfly-9.0.2.Final/standalone/log/apm.log' (source: Java System Properties) | |
2018-11-29 14:48:27.714 [main] DEBUG co.elastic.apm.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class LineIterator { | |
public static LinkedList<Point> getLinePoints(Mat img,Point pt1,Point pt2,int connectivity,bool leftToRight); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public LineIterator LineIterator(Mat img,Point pt1,Point pt2,int connectivity,bool leftToRight); // classic constructor | |
public Point next(); // increments internal pointer and returns the next pixel | |
public Point previous(); // decrements internal pointer and returns the next pixel | |
public Point current(); // returns current pixel |