Tabnine Logo
Sample.setValues
Code IndexAdd Tabnine to your IDE (free)

How to use
setValues
method
in
org.rrd4j.core.Sample

Best Java code snippets using org.rrd4j.core.Sample.setValues (Showing top 2 results out of 315)

origin: org.apache.marmotta/marmotta-loader-core

  @Override
  public void run() {
    try {
      long time = System.currentTimeMillis() / 1000;
      synchronized (statSample) {
        statSample.setTime(time);
        statSample.setValues(handler.triples);
        statSample.update();
      }
    } catch (Exception e) {
      log.warn("could not update statistics database: {}", e.getMessage());
    }
  }
}
origin: apache/marmotta

  @Override
  public void run() {
    try {
      long time = System.currentTimeMillis() / 1000;
      synchronized (statSample) {
        statSample.setTime(time);
        statSample.setValues(handler.triples);
        statSample.update();
      }
    } catch (Exception e) {
      log.warn("could not update statistics database: {}", e.getMessage());
    }
  }
}
org.rrd4j.coreSamplesetValues

Javadoc

Sets some (possibly all) data source values in bulk. Data source values are assigned in the order of their definition inside the RRD.

Popular methods of Sample

  • update
    Stores sample in the corresponding RRD. If the update operation succeeds, all datasource values in t
  • setValue
    Sets single data source value in the sample.
  • dump
    Dumps sample content using the syntax of RRDTool's update command.
  • setTime
    Sets sample timestamp. Timestamp should be defined in seconds (without milliseconds).
  • <init>
  • clearValues
  • getTime
    Returns sample timestamp (in seconds, without milliseconds).
  • getValues
    Returns all current data source values in the sample.
  • set
    Sets sample timestamp and data source values in a fashion similar to RRDTool. Argument string should
  • setAndUpdate
    Creates sample with the timestamp and data source values supplied in the argument string and stores

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JTextField (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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