Examples of TraceRepository


Examples of org.springframework.boot.actuate.trace.TraceRepository

  @EnableConfigurationProperties
  public static class Config {

    @Bean
    public TraceEndpoint endpoint() {
      TraceRepository repository = new InMemoryTraceRepository();
      repository.add(Collections.<String, Object> singletonMap("a", "b"));
      return new TraceEndpoint(repository);
    }
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.