public byte [ ] dequeue ( ) { final byte [ ] array ; synchronized ( this ) { array = pathQueries . dequeue ( ) ; } if ( array != ROBOTS_PATH ) { frontier . pathQueriesInQueues . decrementAndGet ( ) ; frontier . weightOfpathQueriesInQueues . addAndGet ( - BURL . memoryUsageOf ( array ) ) ; } return array ; }
Removes the first path in the queue .