Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getAvailablePort (0.08 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java

        }
    
        /**
         * Allocate an available port
         *
         * @return the port that was allocated
         */
        int allocate() {
            try {
                lock.lock();
                return getAvailablePort();
            } finally {
                lock.unlock();
            }
        }
    
        /**
         * Deallocate the given port
         *
         * @param port The port to deallocate
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
Back to Top