FaultInjectorFileIoEvents (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.datanode, class: FaultInjectorFileIoEvents

Package org.apache.hadoop.hdfs.server.datanode

# Class FaultInjectorFileIoEvents

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.FaultInjectorFileIoEvents

@Private public class FaultInjectorFileIoEvents extends Object
Injects faults in the metadata and data related operations on datanode volumes.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FaultInjectorFileIoEvents(org.apache.hadoop.conf.Configuration conf)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `beforeFileIo(FsVolumeSpi volume, FileIoProvider.OPERATION op, long len)`
  `void`
  `beforeMetadataOp(FsVolumeSpi volume, FileIoProvider.OPERATION op)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FaultInjectorFileIoEvents

    public FaultInjectorFileIoEvents(@Nullable org.apache.hadoop.conf.Configuration conf)

- ## Method Details

  - ### beforeMetadataOp

    public void beforeMetadataOp(@Nullable FsVolumeSpi volume, FileIoProvider.OPERATION op)

  - ### beforeFileIo

    public void beforeFileIo(@Nullable FsVolumeSpi volume, FileIoProvider.OPERATION op, long len)