Class IndexWriter.EventQueue

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    IndexWriter

    static final class IndexWriter.EventQueue
    extends java.lang.Object
    implements java.io.Closeable
    • Field Detail

      • closed

        private volatile boolean closed
      • permits

        private final java.util.concurrent.Semaphore permits
    • Constructor Detail

    • Method Detail

      • acquire

        private void acquire()
      • processEvents

        void processEvents()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • processEventsInternal

        private void processEventsInternal()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException