Tabnine Logo
BlockReceiver.setLastSentTime
Code IndexAdd Tabnine to your IDE (free)

How to use
setLastSentTime
method
in
org.apache.hadoop.hdfs.server.datanode.BlockReceiver

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

origin: org.apache.hadoop/hadoop-hdfs

mirrorOut.flush();
long now = Time.monotonicNow();
setLastSentTime(now);
long duration = now - begin;
DataNodeFaultInjector.get().logDelaySendingPacketDownstream(
origin: ch.cern.hadoop/hadoop-hdfs

mirrorOut.flush();
long now = Time.monotonicNow();
setLastSentTime(now);
long duration = now - begin;
if (duration > datanodeSlowLogThresholdMs) {
origin: io.prestosql.hadoop/hadoop-apache

mirrorOut.flush();
long now = Time.monotonicNow();
setLastSentTime(now);
long duration = now - begin;
if (duration > datanodeSlowLogThresholdMs) {
org.apache.hadoop.hdfs.server.datanodeBlockReceiversetLastSentTime

Popular methods of BlockReceiver

  • <init>
  • cleanupBlock
    Cleanup a partial block if this write is for a replication request (and not from a client)
  • close
    close files and release volume reference.
  • computePartialChunkCrc
    reads in the partial crc chunk and computes checksum of pre-existing data in partial chunk.
  • handleMirrorOutError
    While writing to mirrorOut, failure to write to mirror should not affect this datanode unless it is
  • receiveBlock
  • receivePacket
    Receives and processes a packet. It can contain many chunks. returns the number of data bytes that t
  • verifyChunks
    Verify multiple CRC chunks.
  • adjustCrcFilePosition
    Adjust the file pointer in the local meta file so that the last checksum will be overwritten.
  • checksum2long
    Convert a checksum byte array to a long
  • claimReplicaHandler
    The caller claims the ownership of the replica handler.
  • copyLastChunkChecksum
  • claimReplicaHandler,
  • copyLastChunkChecksum,
  • flushOrSync,
  • getReplica,
  • manageWriterOsCache,
  • packetSentInTime,
  • sendOOB,
  • shouldVerifyChecksum,
  • translateChunks

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JTextField (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • CodeWhisperer alternatives
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