congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EntryXBean.getValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getValue
method
in
org.metricssampler.config.loader.xbeans.EntryXBean

Best Java code snippets using org.metricssampler.config.loader.xbeans.EntryXBean.getValue (Showing top 8 results out of 315)

origin: com.github.dimovelev/metrics-sampler-extension-jdbc

public Map<String,String> toMap() {
  final Map<String,String> result = new HashMap<>();
  if (entries != null) {
    for (final EntryXBean entry : entries) {
      result.put(entry.getKey(), entry.getValue());
    }
  }
  return result;
}
origin: dimovelev/metrics-sampler

public Map<String,String> toMap() {
  final Map<String,String> result = new HashMap<>();
  if (entries != null) {
    for (final EntryXBean entry : entries) {
      result.put(entry.getKey(), entry.getValue());
    }
  }
  return result;
}
origin: com.github.dimovelev/metrics-sampler-core

protected Map<String, String> getHeadersAsMap() {
  final Map<String, String> result = new HashMap<>();
  if (headers != null) {
    for (final EntryXBean entry : headers) {
      entry.validate();
      result.put(entry.getKey(), entry.getValue());
    }
  }
  return result;
}
origin: dimovelev/metrics-sampler

protected Map<String, String> getHeadersAsMap() {
  final Map<String, String> result = new HashMap<>();
  if (headers != null) {
    for (final EntryXBean entry : headers) {
      entry.validate();
      result.put(entry.getKey(), entry.getValue());
    }
  }
  return result;
}
origin: com.github.dimovelev/metrics-sampler-core

  @Override
  public Object getValue() {
    super.validate();
    final Map<String, String> result = new HashMap<>();
    for (final EntryXBean entry : entries) {
      entry.validate();
      result.put(entry.getKey(), entry.getValue());
    }
    return result;
  }
}
origin: dimovelev/metrics-sampler

  @Override
  public Object getValue() {
    super.validate();
    final Map<String, String> result = new HashMap<>();
    for (final EntryXBean entry : entries) {
      entry.validate();
      result.put(entry.getKey(), entry.getValue());
    }
    return result;
  }
}
origin: dimovelev/metrics-sampler

  @Override
  protected InputConfig createConfig() {
    List<Pattern> ignorePatterns;
    if (ignore != null) {
      ignorePatterns = new ArrayList<Pattern>(ignore.size());
      for (final IgnoreObjectNameXBean ignoreObjectName : ignore) {
        try {
          ignorePatterns.add(Pattern.compile(ignoreObjectName.getRegexp()));
        } catch (final PatternSyntaxException e) {
          throw new ConfigurationException("Pattern "+ignoreObjectName+" cannot compile: " + e.getMessage());
        }
      }
    } else {
      ignorePatterns = Collections.emptyList();
    }
    final Map<String, String> configConnectionProperties = new HashMap<>();
    if (connectionProperties != null) {
      for (final EntryXBean entry : connectionProperties) {
        configConnectionProperties.put(entry.getKey(), entry.getValue());
      }
    }

    final SocketOptionsConfig soConfig = socketOptions != null ? socketOptions.toConfig() : null;
    final boolean boolPersistentConnection = getPersistentConnection() != null ? getPersistentConnection() : true;
    return new JmxInputConfig(getName(), getVariablesConfig(), getUrl(), getUsername(), getPassword(), getProviderPackages(), boolPersistentConnection, ignorePatterns, configConnectionProperties, soConfig);
  }
}
origin: com.github.dimovelev/metrics-sampler-extension-jmx

  @Override
  protected InputConfig createConfig() {
    List<Pattern> ignorePatterns;
    if (ignore != null) {
      ignorePatterns = new ArrayList<Pattern>(ignore.size());
      for (final IgnoreObjectNameXBean ignoreObjectName : ignore) {
        try {
          ignorePatterns.add(Pattern.compile(ignoreObjectName.getRegexp()));
        } catch (final PatternSyntaxException e) {
          throw new ConfigurationException("Pattern "+ignoreObjectName+" cannot compile: " + e.getMessage());
        }
      }
    } else {
      ignorePatterns = Collections.emptyList();
    }
    final Map<String, String> configConnectionProperties = new HashMap<>();
    if (connectionProperties != null) {
      for (final EntryXBean entry : connectionProperties) {
        configConnectionProperties.put(entry.getKey(), entry.getValue());
      }
    }

    final SocketOptionsConfig soConfig = socketOptions != null ? socketOptions.toConfig() : null;
    final boolean boolPersistentConnection = getPersistentConnection() != null ? getPersistentConnection() : true;
    return new JmxInputConfig(getName(), getVariablesConfig(), getUrl(), getUsername(), getPassword(), getProviderPackages(), boolPersistentConnection, ignorePatterns, configConnectionProperties, soConfig);
  }
}
org.metricssampler.config.loader.xbeansEntryXBeangetValue

Popular methods of EntryXBean

  • getKey
  • validate

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Reference (javax.naming)
  • JComboBox (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now