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

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

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

origin: org.fusesource.rrd4j/rrd4j

/**
 * Stores sample in the corresponding RRD. If the update operation succeeds,
 * all datasource values in the sample will be set to Double.NaN (unknown) values.
 *
 * @throws IOException Thrown in case of I/O error.
 */
public void update() throws IOException {
  parentDb.store(this);
  clearValues();
}
origin: org.fusesource.rrd4j/rrd4j

Sample(RrdDb parentDb, long time) throws IOException {
  this.parentDb = parentDb;
  this.time = time;
  this.dsNames = parentDb.getDsNames();
  values = new double[dsNames.length];
  clearValues();
}
origin: org.rrd4j/rrd4j

Sample(RrdDb parentDb, long time) throws IOException {
  this.parentDb = parentDb;
  this.time = time;
  this.dsNames = parentDb.getDsNames();
  values = new double[dsNames.length];
  clearValues();
}
origin: org.rrd4j/rrd4j

/**
 * Stores sample in the corresponding RRD. If the update operation succeeds,
 * all datasource values in the sample will be set to Double.NaN (unknown) values.
 *
 * @throws java.io.IOException Thrown in case of I/O error.
 */
public void update() throws IOException {
  parentDb.store(this);
  clearValues();
}
org.rrd4j.coreSampleclearValues

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>
  • 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
  • setValues
    Sets some (possibly all) data source values in bulk. Data source values are assigned in the order of

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 17 Plugins for Android Studio
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