Class ClosurePool.Magazine

  • Enclosing class:
    ClosurePool

    private static final class ClosurePool.Magazine
    extends java.lang.Object
    • Field Detail

      • IO

        private static final MemoryIO IO
        Store a reference to the MemoryIO accessor here for easy access
      • foreign

        private final Foreign foreign
        A handle to the foreign interface to keep it alive as long as this object is alive
      • magazine

        private final long magazine
      • next

        private int next
      • freeCount

        private int freeCount
    • Method Detail

      • isFull

        boolean isFull()
      • isEmpty

        boolean isEmpty()
      • recycle

        void recycle()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable