Class NoneRecycler.NV<T>

org.elasticsearch.common.recycler.NoneRecycler.NV<T>
All Implemented Interfaces:
, , Recycler.V<T>, org.elasticsearch.core.Releasable
Enclosing class:
NoneRecycler<T>

public static class NoneRecycler.NV<T> extends implements Recycler.V<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    Whether this instance has been recycled (true) or newly allocated (false).
    v()
    Reference to the value.

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Method Details

    • v

      public T v()
      Description copied from interface: Recycler.V
      Reference to the value.
      Specified by:
      v in interface Recycler.V<T>
    • isRecycled

      public boolean isRecycled()
      Description copied from interface: Recycler.V
      Whether this instance has been recycled (true) or newly allocated (false).
      Specified by:
      isRecycled in interface Recycler.V<T>
    • close

      public void close()
      Specified by:
       in interface 
      Specified by:
       in interface 
      Specified by:
      close in interface org.elasticsearch.core.Releasable