ClientMmap (Apache Hadoop HDFS Client 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.shortcircuit, class: ClientMmap

Package org.apache.hadoop.hdfs.shortcircuit

# Class ClientMmap

java.lang.Object
org.apache.hadoop.hdfs.shortcircuit.ClientMmap

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`

@Private public class ClientMmap extends Object implements Closeable
A reference to a memory-mapped region used by an HDFS client.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  Close the ClientMmap object.
  `MappedByteBuffer`
  `getMappedByteBuffer()`

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

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

- ## Method Details

  - ### close

    public void close()
    Close the ClientMmap object.
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`

  - ### getMappedByteBuffer

    public MappedByteBuffer getMappedByteBuffer()