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

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

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

origin: org.apache.hadoop/hadoop-hdfs

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

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

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

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

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

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

Javadoc

Sync the data 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
  • syncChecksumOut
    Sync the checksum 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

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Top plugins for WebStorm
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