test_class.declarator: factory = new InfluxDbReporterFactory()
test_class.modifier: private
test_class.original_string: private InfluxDbReporterFactory factory = new InfluxDbReporterFactory();
test_class.type: InfluxDbReporterFactory
test_class.var_name: factory
test_class.declarator: validator = BaseValidator.newValidator()
test_class.modifier: private final
test_class.original_string: private final Validator validator = BaseValidator.newValidator();
test_class.type: Validator
test_class.var_name: validator
test_class.file: dropwizard-metrics-influxdb/src/test/java/com/izettle/metrics/dw/InfluxDbReporterFactoryTest.java
test_class.identifier: InfluxDbReporterFactoryTest
test_case.body: @Test
      public void testNoAddressResolutionForInfluxDb() throws Exception {
          final InfluxDbReporter.Builder builderSpy = mock(InfluxDbReporter.Builder.class);
          new InfluxDbReporterFactory() {
              @Override
              protected InfluxDbReporter.Builder builder(MetricRegistry registry) {
                  return builderSpy;
              }
          }.build(new MetricRegistry());
  
          final ArgumentCaptor<InfluxDbHttpSender> argument = ArgumentCaptor.forClass(InfluxDbHttpSender.class);
          verify(builderSpy).build(argument.capture());
  
          final InfluxDbHttpSender influxDb = argument.getValue();
  
          String url = new URL("http", "localhost", 8086, "/write").toString() + "?db=&precision=m";
          assertThat(getField(influxDb, InfluxDbHttpSender.class, "url")).isEqualTo(new URL(url));
          assertThat(getField(influxDb, InfluxDbHttpSender.class, "connectTimeout")).isEqualTo(1500);
          assertThat(getField(influxDb, InfluxDbHttpSender.class, "readTimeout")).isEqualTo(1500);
          assertThat(
              getField(
                  influxDb,
                  InfluxDbHttpSender.class,
                  "authStringEncoded")).isEqualTo(Base64.encodeBase64String("".getBytes(UTF_8)));
      }
test_case.class_method_signature: InfluxDbReporterFactoryTest.testNoAddressResolutionForInfluxDb()
test_case.full_signature: @Test public void testNoAddressResolutionForInfluxDb()
test_case.identifier: testNoAddressResolutionForInfluxDb
test_case.invocations: mock build forClass build verify capture getValue toString isEqualTo assertThat getField isEqualTo assertThat getField isEqualTo assertThat getField isEqualTo assertThat getField encodeBase64String getBytes
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNoAddressResolutionForInfluxDb()
focal_class.declarator: protocol = "http"
focal_class.modifier: @NotEmpty
      private
focal_class.original_string: @NotEmpty
      private String protocol = "http";
focal_class.type: String
focal_class.var_name: protocol
focal_class.declarator: host = "localhost"
focal_class.modifier: @NotEmpty
      private
focal_class.original_string: @NotEmpty
      private String host = "localhost";
focal_class.type: String
focal_class.var_name: host
focal_class.declarator: port = 8086
focal_class.modifier: @Range(min = 0, max = 49151)
      private
focal_class.original_string: @Range(min = 0, max = 49151)
      private int port = 8086;
focal_class.type: int
focal_class.var_name: port
focal_class.declarator: prefix = ""
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private String prefix = "";
focal_class.type: String
focal_class.var_name: prefix
focal_class.declarator: tags = new HashMap<>()
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private Map<String, String> tags = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: tags
focal_class.declarator: fields = ImmutableMap.of(
          "timers",
          ImmutableSet.of("p50", "p75", "p95", "p99", "p999", "m1_rate"),
          "meters",
          ImmutableSet.of("m1_rate"))
focal_class.modifier: @NotEmpty
      private
focal_class.original_string: @NotEmpty
      private ImmutableMap<String, ImmutableSet<String>> fields = ImmutableMap.of(
          "timers",
          ImmutableSet.of("p50", "p75", "p95", "p99", "p999", "m1_rate"),
          "meters",
          ImmutableSet.of("m1_rate"));
focal_class.type: ImmutableMap<String, ImmutableSet<String>>
focal_class.var_name: fields
focal_class.declarator: database = ""
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private String database = "";
focal_class.type: String
focal_class.var_name: database
focal_class.declarator: auth = ""
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private String auth = "";
focal_class.type: String
focal_class.var_name: auth
focal_class.declarator: connectTimeout = 1500
focal_class.modifier: @Range(min = 500, max = 30000)
      private
focal_class.original_string: @Range(min = 500, max = 30000)
      private int connectTimeout = 1500;
focal_class.type: int
focal_class.var_name: connectTimeout
focal_class.declarator: readTimeout = 1500
focal_class.modifier: @Range(min = 500, max = 30000)
      private
focal_class.original_string: @Range(min = 500, max = 30000)
      private int readTimeout = 1500;
focal_class.type: int
focal_class.var_name: readTimeout
focal_class.declarator: precision = Duration.minutes(1)
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private Duration precision = Duration.minutes(1);
focal_class.type: Duration
focal_class.var_name: precision
focal_class.declarator: senderType = SenderType.HTTP
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private SenderType senderType = SenderType.HTTP;
focal_class.type: SenderType
focal_class.var_name: senderType
focal_class.declarator: groupGauges = true
focal_class.modifier: private
focal_class.original_string: private boolean groupGauges = true;
focal_class.type: boolean
focal_class.var_name: groupGauges
focal_class.declarator: measurementMappings = ImmutableMap.of()
focal_class.modifier: private
focal_class.original_string: private ImmutableMap<String, String> measurementMappings = ImmutableMap.of();
focal_class.type: ImmutableMap<String, String>
focal_class.var_name: measurementMappings
focal_class.declarator: defaultMeasurementMappings = ImmutableMap.<String, String>builder()
          .put("health", ".*\\.health(\\..*)?$")
          .put("auth", ".*\\.auth\\..*")
          .put("dao", ".*\\.(jdbi|dao)\\..*")
          .put("resources", ".*\\.resources?\\..*")
          .put("event_handlers", ".*\\.messaging\\..*")
          .put("datasources", "io\\.dropwizard\\.db\\.ManagedPooledDataSource.*")
          .put("clients", "org\\.apache\\.http\\.client\\.HttpClient.*")
          .put("client_connections", "org\\.apache\\.http\\.conn\\.HttpClientConnectionManager.*")
          .put("connections", "org\\.eclipse\\.jetty\\.server\\.HttpConnectionFactory.*")
          .put("thread_pools", "org\\.eclipse\\.jetty\\.util\\.thread\\.QueuedThreadPool.*")
          .put("logs", "ch\\.qos\\.logback\\.core\\.Appender.*")
          .put("http_server", "io\\.dropwizard\\.jetty\\.MutableServletContextHandler.*")
          .put("raw_sql", "org\\.skife\\.jdbi\\.v2\\.DBI\\.raw-sql")
          .put("jvm", "^jvm$")
          .put("jvm_attribute", "jvm\\.attribute.*?")
          .put("jvm_buffers", "jvm\\.buffers\\..*")
          .put("jvm_classloader", "jvm\\.classloader.*")
          .put("jvm_gc", "jvm\\.gc\\..*")
          .put("jvm_memory", "jvm\\.memory\\..*")
          .put("jvm_threads", "jvm\\.threads.*")
          .build()
focal_class.modifier: private
focal_class.original_string: private ImmutableMap<String, String> defaultMeasurementMappings = ImmutableMap.<String, String>builder()
          .put("health", ".*\\.health(\\..*)?$")
          .put("auth", ".*\\.auth\\..*")
          .put("dao", ".*\\.(jdbi|dao)\\..*")
          .put("resources", ".*\\.resources?\\..*")
          .put("event_handlers", ".*\\.messaging\\..*")
          .put("datasources", "io\\.dropwizard\\.db\\.ManagedPooledDataSource.*")
          .put("clients", "org\\.apache\\.http\\.client\\.HttpClient.*")
          .put("client_connections", "org\\.apache\\.http\\.conn\\.HttpClientConnectionManager.*")
          .put("connections", "org\\.eclipse\\.jetty\\.server\\.HttpConnectionFactory.*")
          .put("thread_pools", "org\\.eclipse\\.jetty\\.util\\.thread\\.QueuedThreadPool.*")
          .put("logs", "ch\\.qos\\.logback\\.core\\.Appender.*")
          .put("http_server", "io\\.dropwizard\\.jetty\\.MutableServletContextHandler.*")
          .put("raw_sql", "org\\.skife\\.jdbi\\.v2\\.DBI\\.raw-sql")
          .put("jvm", "^jvm$")
          .put("jvm_attribute", "jvm\\.attribute.*?")
          .put("jvm_buffers", "jvm\\.buffers\\..*")
          .put("jvm_classloader", "jvm\\.classloader.*")
          .put("jvm_gc", "jvm\\.gc\\..*")
          .put("jvm_memory", "jvm\\.memory\\..*")
          .put("jvm_threads", "jvm\\.threads.*")
          .build();
focal_class.type: ImmutableMap<String, String>
focal_class.var_name: defaultMeasurementMappings
focal_class.declarator: excludes = ImmutableSet.<String>builder()
          .add("ch.qos.logback.core.Appender.debug")
          .add("ch.qos.logback.core.Appender.trace")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-4xx-15m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-4xx-1m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-4xx-5m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-5xx-15m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-5xx-1m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-5xx-5m")
          .add("jvm.attribute.name")
          .add("jvm.attribute.vendor")
          .add("jvm.memory.heap.usage")
          .add("jvm.memory.non-heap.usage")
          .add("jvm.memory.pools.Code-Cache.usage")
          .add("jvm.memory.pools.Compressed-Class-Space.usage")
          .add("jvm.memory.pools.Metaspace.usage")
          .add("jvm.memory.pools.PS-Eden-Space.usage")
          .add("jvm.memory.pools.PS-Old-Gen.usage")
          .add("jvm.memory.pools.PS-Survivor-Space.usage")
          .build()
focal_class.modifier: private
focal_class.original_string: private ImmutableSet<String> excludes = ImmutableSet.<String>builder()
          .add("ch.qos.logback.core.Appender.debug")
          .add("ch.qos.logback.core.Appender.trace")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-4xx-15m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-4xx-1m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-4xx-5m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-5xx-15m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-5xx-1m")
          .add("io.dropwizard.jetty.MutableServletContextHandler.percent-5xx-5m")
          .add("jvm.attribute.name")
          .add("jvm.attribute.vendor")
          .add("jvm.memory.heap.usage")
          .add("jvm.memory.non-heap.usage")
          .add("jvm.memory.pools.Code-Cache.usage")
          .add("jvm.memory.pools.Compressed-Class-Space.usage")
          .add("jvm.memory.pools.Metaspace.usage")
          .add("jvm.memory.pools.PS-Eden-Space.usage")
          .add("jvm.memory.pools.PS-Old-Gen.usage")
          .add("jvm.memory.pools.PS-Survivor-Space.usage")
          .build();
focal_class.type: ImmutableSet<String>
focal_class.var_name: excludes
focal_class.declarator: tagsTransformer = new ClassBasedTransformer()
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private Transformer tagsTransformer = new ClassBasedTransformer();
focal_class.type: Transformer
focal_class.var_name: tagsTransformer
focal_class.file: dropwizard-metrics-influxdb/src/main/java/com/izettle/metrics/dw/InfluxDbReporterFactory.java
focal_class.identifier: InfluxDbReporterFactory
focal_class.class_method_signature: InfluxDbReporterFactory.getProtocol()
focal_class.full_signature: @JsonProperty public String getProtocol()
focal_class.identifier: getProtocol
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProtocol()
focal_class.class_method_signature: InfluxDbReporterFactory.setProtocol(String protocol)
focal_class.full_signature: @JsonProperty public void setProtocol(String protocol)
focal_class.identifier: setProtocol
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (String protocol)
focal_class.return: void
focal_class.signature: void setProtocol(String protocol)
focal_class.class_method_signature: InfluxDbReporterFactory.getHost()
focal_class.full_signature: @JsonProperty public String getHost()
focal_class.identifier: getHost
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHost()
focal_class.class_method_signature: InfluxDbReporterFactory.setHost(String host)
focal_class.full_signature: @JsonProperty public void setHost(String host)
focal_class.identifier: setHost
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (String host)
focal_class.return: void
focal_class.signature: void setHost(String host)
focal_class.class_method_signature: InfluxDbReporterFactory.getPort()
focal_class.full_signature: @JsonProperty public int getPort()
focal_class.identifier: getPort
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getPort()
focal_class.class_method_signature: InfluxDbReporterFactory.setPort(int port)
focal_class.full_signature: @JsonProperty public void setPort(int port)
focal_class.identifier: setPort
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (int port)
focal_class.return: void
focal_class.signature: void setPort(int port)
focal_class.class_method_signature: InfluxDbReporterFactory.getPrefix()
focal_class.full_signature: @JsonProperty public String getPrefix()
focal_class.identifier: getPrefix
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPrefix()
focal_class.class_method_signature: InfluxDbReporterFactory.setPrefix(String prefix)
focal_class.full_signature: @JsonProperty public void setPrefix(String prefix)
focal_class.identifier: setPrefix
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (String prefix)
focal_class.return: void
focal_class.signature: void setPrefix(String prefix)
focal_class.class_method_signature: InfluxDbReporterFactory.getTags()
focal_class.full_signature: @JsonProperty private Map<String, String> getTags()
focal_class.identifier: getTags
focal_class.modifiers: @JsonProperty private
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getTags()
focal_class.class_method_signature: InfluxDbReporterFactory.setTags(Map<String, String> tags)
focal_class.full_signature: @JsonProperty public void setTags(Map<String, String> tags)
focal_class.identifier: setTags
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (Map<String, String> tags)
focal_class.return: void
focal_class.signature: void setTags(Map<String, String> tags)
focal_class.class_method_signature: InfluxDbReporterFactory.getFields()
focal_class.full_signature: @JsonProperty public ImmutableMap<String, ImmutableSet<String>> getFields()
focal_class.identifier: getFields
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: ImmutableMap<String, ImmutableSet<String>>
focal_class.signature: ImmutableMap<String, ImmutableSet<String>> getFields()
focal_class.class_method_signature: InfluxDbReporterFactory.setFields(ImmutableMap<String, ImmutableSet<String>> fields)
focal_class.full_signature: @JsonProperty public void setFields(ImmutableMap<String, ImmutableSet<String>> fields)
focal_class.identifier: setFields
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (ImmutableMap<String, ImmutableSet<String>> fields)
focal_class.return: void
focal_class.signature: void setFields(ImmutableMap<String, ImmutableSet<String>> fields)
focal_class.class_method_signature: InfluxDbReporterFactory.getDatabase()
focal_class.full_signature: @JsonProperty public String getDatabase()
focal_class.identifier: getDatabase
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDatabase()
focal_class.class_method_signature: InfluxDbReporterFactory.setDatabase(String database)
focal_class.full_signature: @JsonProperty public void setDatabase(String database)
focal_class.identifier: setDatabase
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (String database)
focal_class.return: void
focal_class.signature: void setDatabase(String database)
focal_class.class_method_signature: InfluxDbReporterFactory.getAuth()
focal_class.full_signature: @JsonProperty public String getAuth()
focal_class.identifier: getAuth
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAuth()
focal_class.class_method_signature: InfluxDbReporterFactory.setAuth(String auth)
focal_class.full_signature: @JsonProperty public void setAuth(String auth)
focal_class.identifier: setAuth
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (String auth)
focal_class.return: void
focal_class.signature: void setAuth(String auth)
focal_class.class_method_signature: InfluxDbReporterFactory.getConnectTimeout()
focal_class.full_signature: @JsonProperty public int getConnectTimeout()
focal_class.identifier: getConnectTimeout
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getConnectTimeout()
focal_class.class_method_signature: InfluxDbReporterFactory.setConnectTimeout(int connectTimeout)
focal_class.full_signature: @JsonProperty public void setConnectTimeout(int connectTimeout)
focal_class.identifier: setConnectTimeout
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (int connectTimeout)
focal_class.return: void
focal_class.signature: void setConnectTimeout(int connectTimeout)
focal_class.class_method_signature: InfluxDbReporterFactory.getReadTimeout()
focal_class.full_signature: @JsonProperty public int getReadTimeout()
focal_class.identifier: getReadTimeout
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getReadTimeout()
focal_class.class_method_signature: InfluxDbReporterFactory.setReadTimeout(int readTimeout)
focal_class.full_signature: @JsonProperty public void setReadTimeout(int readTimeout)
focal_class.identifier: setReadTimeout
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (int readTimeout)
focal_class.return: void
focal_class.signature: void setReadTimeout(int readTimeout)
focal_class.class_method_signature: InfluxDbReporterFactory.getGroupGauges()
focal_class.full_signature: @JsonProperty public boolean getGroupGauges()
focal_class.identifier: getGroupGauges
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getGroupGauges()
focal_class.class_method_signature: InfluxDbReporterFactory.setGroupGauges(boolean groupGauges)
focal_class.full_signature: @JsonProperty public void setGroupGauges(boolean groupGauges)
focal_class.identifier: setGroupGauges
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (boolean groupGauges)
focal_class.return: void
focal_class.signature: void setGroupGauges(boolean groupGauges)
focal_class.class_method_signature: InfluxDbReporterFactory.getPrecision()
focal_class.full_signature: @JsonProperty public Duration getPrecision()
focal_class.identifier: getPrecision
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: Duration
focal_class.signature: Duration getPrecision()
focal_class.class_method_signature: InfluxDbReporterFactory.setPrecision(Duration precision)
focal_class.full_signature: @JsonProperty public void setPrecision(Duration precision)
focal_class.identifier: setPrecision
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (Duration precision)
focal_class.return: void
focal_class.signature: void setPrecision(Duration precision)
focal_class.class_method_signature: InfluxDbReporterFactory.getMeasurementMappings()
focal_class.full_signature: @JsonProperty public Map<String, String> getMeasurementMappings()
focal_class.identifier: getMeasurementMappings
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getMeasurementMappings()
focal_class.class_method_signature: InfluxDbReporterFactory.setMeasurementMappings(ImmutableMap<String, String> measurementMappings)
focal_class.full_signature: @JsonProperty public void setMeasurementMappings(ImmutableMap<String, String> measurementMappings)
focal_class.identifier: setMeasurementMappings
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (ImmutableMap<String, String> measurementMappings)
focal_class.return: void
focal_class.signature: void setMeasurementMappings(ImmutableMap<String, String> measurementMappings)
focal_class.class_method_signature: InfluxDbReporterFactory.getDefaultMeasurementMappings()
focal_class.full_signature: @JsonProperty public Map<String, String> getDefaultMeasurementMappings()
focal_class.identifier: getDefaultMeasurementMappings
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getDefaultMeasurementMappings()
focal_class.class_method_signature: InfluxDbReporterFactory.getExcludes()
focal_class.full_signature: @JsonProperty @Override public ImmutableSet<String> getExcludes()
focal_class.identifier: getExcludes
focal_class.modifiers: @JsonProperty @Override public
focal_class.parameters: ()
focal_class.return: ImmutableSet<String>
focal_class.signature: ImmutableSet<String> getExcludes()
focal_class.class_method_signature: InfluxDbReporterFactory.setExcludes(Set<String> excludes)
focal_class.full_signature: @JsonProperty @Override public void setExcludes(Set<String> excludes)
focal_class.identifier: setExcludes
focal_class.modifiers: @JsonProperty @Override public
focal_class.parameters: (Set<String> excludes)
focal_class.return: void
focal_class.signature: void setExcludes(Set<String> excludes)
focal_class.class_method_signature: InfluxDbReporterFactory.setDefaultMeasurementMappings(ImmutableMap<String, String> defaultMeasurementMappings)
focal_class.full_signature: @JsonProperty public void setDefaultMeasurementMappings(ImmutableMap<String, String> defaultMeasurementMappings)
focal_class.identifier: setDefaultMeasurementMappings
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (ImmutableMap<String, String> defaultMeasurementMappings)
focal_class.return: void
focal_class.signature: void setDefaultMeasurementMappings(ImmutableMap<String, String> defaultMeasurementMappings)
focal_class.class_method_signature: InfluxDbReporterFactory.setSenderType(SenderType senderType)
focal_class.full_signature: @JsonProperty public void setSenderType(SenderType senderType)
focal_class.identifier: setSenderType
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (SenderType senderType)
focal_class.return: void
focal_class.signature: void setSenderType(SenderType senderType)
focal_class.class_method_signature: InfluxDbReporterFactory.getSenderType()
focal_class.full_signature: @JsonProperty public SenderType getSenderType()
focal_class.identifier: getSenderType
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: SenderType
focal_class.signature: SenderType getSenderType()
focal_class.class_method_signature: InfluxDbReporterFactory.setTagsTransformer(Transformer tagsTransformer)
focal_class.full_signature: @JsonProperty public void setTagsTransformer(Transformer tagsTransformer)
focal_class.identifier: setTagsTransformer
focal_class.modifiers: @JsonProperty public
focal_class.parameters: (Transformer tagsTransformer)
focal_class.return: void
focal_class.signature: void setTagsTransformer(Transformer tagsTransformer)
focal_class.class_method_signature: InfluxDbReporterFactory.getTagsTransformer()
focal_class.full_signature: @JsonProperty public Transformer getTagsTransformer()
focal_class.identifier: getTagsTransformer
focal_class.modifiers: @JsonProperty public
focal_class.parameters: ()
focal_class.return: Transformer
focal_class.signature: Transformer getTagsTransformer()
focal_class.class_method_signature: InfluxDbReporterFactory.build(MetricRegistry registry)
focal_class.full_signature: @Override public ScheduledReporter build(MetricRegistry registry)
focal_class.identifier: build
focal_class.modifiers: @Override public
focal_class.parameters: (MetricRegistry registry)
focal_class.return: ScheduledReporter
focal_class.signature: ScheduledReporter build(MetricRegistry registry)
focal_class.class_method_signature: InfluxDbReporterFactory.buildMeasurementMappings()
focal_class.full_signature: protected Map<String, String> buildMeasurementMappings()
focal_class.identifier: buildMeasurementMappings
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> buildMeasurementMappings()
focal_class.class_method_signature: InfluxDbReporterFactory.isMeasurementMappingRegularExpressions()
focal_class.full_signature: @ValidationMethod(message = "measurementMappings must be regular expressions") public boolean isMeasurementMappingRegularExpressions()
focal_class.identifier: isMeasurementMappingRegularExpressions
focal_class.modifiers: @ValidationMethod(message = "measurementMappings must be regular expressions") public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMeasurementMappingRegularExpressions()
focal_class.class_method_signature: InfluxDbReporterFactory.builder(MetricRegistry registry)
focal_class.full_signature: @VisibleForTesting protected InfluxDbReporter.Builder builder(MetricRegistry registry)
focal_class.identifier: builder
focal_class.modifiers: @VisibleForTesting protected
focal_class.parameters: (MetricRegistry registry)
focal_class.return: InfluxDbReporter.Builder
focal_class.signature: InfluxDbReporter.Builder builder(MetricRegistry registry)
focal_class.superclass: extends BaseReporterFactory
focal_method.body: @Override
      public ScheduledReporter build(MetricRegistry registry) {
          try {
              InfluxDbReporter.Builder builder = builder(registry);
  
              switch (senderType) {
                  case HTTP:
                      return builder.build(
                          new InfluxDbHttpSender(
                              protocol,
                              host,
                              port,
                              database,
                              auth,
                              precision.getUnit(),
                              connectTimeout,
                              readTimeout,
                              prefix
                          )
                      );
                  case TCP:
                      return builder.build(
                          new InfluxDbTcpSender(
                              host,
                              port,
                              readTimeout,
                              database,
                              prefix
                          )
                      );
                  case UDP:
                      return builder.build(
                          new InfluxDbUdpSender(
                              host,
                              port,
                              readTimeout,
                              database,
                              prefix
                          )
                      );
                  case LOGGER:
                      return builder.build(
                          new InfluxDbLoggerSender(
                              database,
                              TimeUnit.MILLISECONDS,
                              prefix
                          )
                      );
                  case KAFKA:
                          return builder.build(
                          new InfluxDBKafkaSender(
                              database,
                              TimeUnit.MILLISECONDS,
                              prefix
                          )
                       );
                  default:
                      throw new UnsupportedDataTypeException("The Sender Type is not supported. ");
              }
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }
focal_method.class_method_signature: InfluxDbReporterFactory.build(MetricRegistry registry)
focal_method.full_signature: @Override public ScheduledReporter build(MetricRegistry registry)
focal_method.identifier: build
focal_method.invocations: builder build getUnit build build build build
focal_method.modifiers: @Override public
focal_method.parameters: (MetricRegistry registry)
focal_method.return: ScheduledReporter
focal_method.signature: ScheduledReporter build(MetricRegistry registry)