BackReference (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs.impl, class: BackReference

Package org.apache.hadoop.fs.impl

# Class BackReference

java.lang.Object
org.apache.hadoop.fs.impl.BackReference

public class BackReference extends Object
Holds reference to an object to be attached to a stream or store to avoid the reference being lost to GC.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BackReference(Object reference)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isNull()`
  is the reference null?
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### BackReference

    public BackReference(@Nullable Object reference)

- ## Method Details

  - ### isNull

    public boolean isNull()
    is the reference null?
    Returns:
      true if the ref. is null, else false.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`