Tabnine Logo
ReplicaOutputStreams.syncChecksumOut
Code IndexAdd Tabnine to your IDE (free)

How to use
syncChecksumOut
method
in
org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams.syncChecksumOut (Showing top 6 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

long flushEndNanos = System.nanoTime();
if (isSync) {
 streams.syncChecksumOut();
 datanode.metrics.addFsyncNanos(System.nanoTime() - flushEndNanos);
origin: org.apache.hadoop/hadoop-hdfs

if (syncOnClose) {
 long fsyncStartNanos = flushEndNanos;
 streams.syncChecksumOut();
 datanode.metrics.addFsyncNanos(System.nanoTime() - fsyncStartNanos);
origin: ch.cern.hadoop/hadoop-hdfs

if (isSync) {
 long fsyncStartNanos = flushEndNanos;
 streams.syncChecksumOut();
 datanode.metrics.addFsyncNanos(System.nanoTime() - fsyncStartNanos);
origin: io.prestosql.hadoop/hadoop-apache

if (isSync) {
 long fsyncStartNanos = flushEndNanos;
 streams.syncChecksumOut();
 datanode.metrics.addFsyncNanos(System.nanoTime() - fsyncStartNanos);
origin: io.prestosql.hadoop/hadoop-apache

if (syncOnClose) {
 long fsyncStartNanos = flushEndNanos;
 streams.syncChecksumOut();
 datanode.metrics.addFsyncNanos(System.nanoTime() - fsyncStartNanos);
origin: ch.cern.hadoop/hadoop-hdfs

if (syncOnClose) {
 long fsyncStartNanos = flushEndNanos;
 streams.syncChecksumOut();
 datanode.metrics.addFsyncNanos(System.nanoTime() - fsyncStartNanos);
org.apache.hadoop.hdfs.server.datanode.fsdatasetReplicaOutputStreamssyncChecksumOut

Javadoc

Sync the checksum stream if it supports it.

Popular methods of ReplicaOutputStreams

  • <init>
    Create an object with a data output stream, a checksum output stream and a checksum.
  • getChecksumOut
  • getDataOut
  • getChecksum
  • isTransientStorage
  • syncDataOut
    Sync the data stream if it supports it.
  • close
  • closeDataStream
  • dropCacheBehindWrites
  • flushDataOut
    Flush the data stream if it supports it.
  • getOutFd
  • syncFileRangeIfPossible
  • getOutFd,
  • syncFileRangeIfPossible,
  • writeDataToDisk

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top plugins for Android Studio
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