Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 158 for synchronize (1.61 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

                                TestComponent component = factory.create();
                                synchronized (createdComponents) {
                                    createdComponents.add(component);
                                }
                            }
                        } catch (Exception e) {
                            synchronized (exceptions) {
                                exceptions.add(e);
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

         */
        protected void startCrawling() {
            synchronized (crawlerContext.activeThreadCountLock) {
                crawlerContext.activeThreadCount++;
            }
        }
    
        /**
         * Decrements the active thread count.
         */
        protected void finishCrawling() {
            synchronized (crawlerContext.activeThreadCountLock) {
                crawlerContext.activeThreadCount--;
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
        public boolean isStale() {
            return !this.open || this.handle != null && !this.handle.isValid();
        }
    
        @Override
        public synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!this.open) {
                throw new SmbException("Pipe handle already closed");
            }
    
            if (!isOpen()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                    log.debug("Usage dropped to zero, release connection " + this.transport);
                }
                // Ensure atomic cleanup of all resources
                synchronized (this) {
                    // Double-check usage count within synchronized block
                    if (this.usageCount.get() != 0) {
                        return; // Another thread acquired the session
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

             * This method creates a GCS Storage client using environment variables for configuration.
             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

             * This method creates an AWS S3 client using environment variables for configuration.
             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                                boolean contains = pool.contains(null); // Should handle gracefully
                                successCount.incrementAndGet();
                            } catch (Exception e) {
                                synchronized (exceptions) {
                                    exceptions.add(e);
                                }
                            }
                        }
                        long threadEnd = System.nanoTime();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * This method creates a MinIO client using environment variables for configuration.
             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                lastChecked = System.currentTimeMillis();
                final long timestamp = reloadableFile.lastModified();
                if (timestamp != time) {
                    synchronized (reloadableFile) {
                        if (timestamp != lastModified) {
                            createSynonymMap(true);
                            return true;
                        }
                    }
                }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                this.fp = 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top