Tabnine Logo
VolumeScanner.positiveMsToHours
Code IndexAdd Tabnine to your IDE (free)

How to use
positiveMsToHours
method
in
org.apache.hadoop.hdfs.server.datanode.VolumeScanner

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.VolumeScanner.positiveMsToHours (Showing top 3 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

if (stats.nextBlockPoolScanStartMs > 0) {
 p.append(String.format("Hours until next block pool scan  : %57.3f%n",
   positiveMsToHours(stats.nextBlockPoolScanStartMs -
     Time.monotonicNow())));
   positiveMsToHours(stats.blockPoolPeriodEndsMs -
     Time.now())));
origin: ch.cern.hadoop/hadoop-hdfs

if (stats.nextBlockPoolScanStartMs > 0) {
 p.append(String.format("Hours until next block pool scan  : %57.3f%n",
   positiveMsToHours(stats.nextBlockPoolScanStartMs -
     Time.monotonicNow())));
   positiveMsToHours(stats.blockPoolPeriodEndsMs -
     Time.now())));
origin: io.prestosql.hadoop/hadoop-apache

if (stats.nextBlockPoolScanStartMs > 0) {
 p.append(String.format("Hours until next block pool scan  : %57.3f%n",
   positiveMsToHours(stats.nextBlockPoolScanStartMs -
     Time.monotonicNow())));
   positiveMsToHours(stats.blockPoolPeriodEndsMs -
     Time.now())));
org.apache.hadoop.hdfs.server.datanodeVolumeScannerpositiveMsToHours

Popular methods of VolumeScanner

  • calculateShouldScan
  • <init>
  • disableBlockPoolId
    Disallow the scanner from scanning the given block pool.
  • enableBlockPoolId
    Allow the scanner to scan the given block pool.
  • expireOldScannedBytesRecords
  • findNextUsableBlockIter
    Find a usable block iterator. We will consider available block iterators in order. This property is
  • getStatistics
  • interrupt
  • markSuspectBlock
  • popNextSuspectBlock
    If there are elements in the suspectBlocks list, removes and returns the first one. Otherwise, retur
  • printStats
  • runLoop
    Run an iteration of the VolumeScanner loop.
  • printStats,
  • runLoop,
  • saveBlockIterator,
  • scanBlock,
  • setConf,
  • setDaemon,
  • setName,
  • shutdown,
  • start

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • Top 12 Jupyter Notebook extensions
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