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

How to use
updateSampleTime
method
in
org.apache.activemq.management.SizeStatisticImpl

Best Java code snippets using org.apache.activemq.management.SizeStatisticImpl.updateSampleTime (Showing top 8 results out of 315)

origin: apache/activemq

/**
 * Reset the total size to the new value
 *
 * @param size
 */
public synchronized void setTotalSize(long size) {
  count++;
  totalSize = size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
}
origin: apache/activemq

public synchronized void addSize(long size) {
  count++;
  totalSize += size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
  if (parent != null) {
    parent.addSize(size);
  }
}
origin: org.apache.activemq/activemq-client

/**
 * Reset the total size to the new value
 *
 * @param size
 */
public synchronized void setTotalSize(long size) {
  count++;
  totalSize = size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
}
origin: org.apache.activemq/activemq-all

/**
 * Reset the total size to the new value
 *
 * @param size
 */
public synchronized void setTotalSize(long size) {
  count++;
  totalSize = size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
}
origin: org.apache.activemq/activemq-osgi

/**
 * Reset the total size to the new value
 *
 * @param size
 */
public synchronized void setTotalSize(long size) {
  count++;
  totalSize = size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
}
origin: org.apache.activemq/activemq-client

public synchronized void addSize(long size) {
  count++;
  totalSize += size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
  if (parent != null) {
    parent.addSize(size);
  }
}
origin: org.apache.activemq/activemq-all

public synchronized void addSize(long size) {
  count++;
  totalSize += size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
  if (parent != null) {
    parent.addSize(size);
  }
}
origin: org.apache.activemq/activemq-osgi

public synchronized void addSize(long size) {
  count++;
  totalSize += size;
  if (size > maxSize) {
    maxSize = size;
  }
  if (size < minSize || minSize == 0) {
    minSize = size;
  }
  updateSampleTime();
  if (parent != null) {
    parent.addSize(size);
  }
}
org.apache.activemq.managementSizeStatisticImplupdateSampleTime

Popular methods of SizeStatisticImpl

  • addSize
  • <init>
  • getAverageSize
  • getMaxSize
  • getMinSize
  • getTotalSize
  • reset
  • setEnabled
  • setTotalSize
    Reset the total size to the new value
  • getAveragePerSecond
  • getAveragePerSecondExcludingMinMax
  • getAverageSizeExcludingMinMax
  • getAveragePerSecondExcludingMinMax,
  • getAverageSizeExcludingMinMax,
  • isDoReset,
  • setParent,
  • getCount,
  • setCount,
  • setMaxSize,
  • setMinSize

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • startActivity (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Path (java.nio.file)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JOptionPane (javax.swing)
  • 21 Best IntelliJ Plugins
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