Class RecoveriesCollection.RecoveryRef

org.elasticsearch.indices.recovery.RecoveriesCollection.RecoveryRef
All Implemented Interfaces:
Enclosing class:
RecoveriesCollection

public static class RecoveriesCollection.RecoveryRef extends implements
a reference to . closing the reference causes AbstractRefCounted.decRef() to be called. This makes sure that the underlying resources will not be freed until close() is called.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Important: AbstractRefCounted.tryIncRef() should be *successfully* called on status before
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • RecoveryRef

      public RecoveryRef(RecoveryTarget status)
      Important: AbstractRefCounted.tryIncRef() should be *successfully* called on status before
  • Method Details

    • close

      public void close()
      Specified by:
       in interface 
    • target

      public RecoveryTarget target()