Package org.reactfx

Class CloseableOnceGuard

  • All Implemented Interfaces:
    java.lang.AutoCloseable, Guard

    class CloseableOnceGuard
    extends java.lang.Object
    implements Guard
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Releases this guard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • delegate

        private Guard delegate
    • Constructor Detail

      • CloseableOnceGuard

        public CloseableOnceGuard​(Guard delegate)
    • Method Detail

      • close

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