Package org.reactfx

Class CloseableOnceGuard

java.lang.Object
org.reactfx.CloseableOnceGuard
All Implemented Interfaces:
AutoCloseable, Guard

class CloseableOnceGuard extends Object implements Guard
  • Field Details

    • delegate

      private Guard delegate
  • Constructor Details

    • CloseableOnceGuard

      public CloseableOnceGuard(Guard delegate)
  • Method Details

    • close

      public void close()
      Description copied from interface: Guard
      Releases this guard. Does not throw.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Guard