Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 271 for Synchronized (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.received = true;
            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#exception(java.lang.Exception)
         */
        @Override
        public void exception(final Exception e) {
            this.exception = e;
            synchronized (this) {
                notifyAll();
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        public void deleteBadWord(final String badWord) {
            suggester.indexer().deleteBadWord(badWord);
            refresh();
        }
    
        /**
         * Refreshes the suggest index.
         */
        public synchronized void refresh() {
            suggester.refresh();
            if (popularWordHelper != null) {
                popularWordHelper.clearCache();
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. CLAUDE.md

    **DI**: LastaFlute container with `@Resource` and XML config
    
    ### Core Principles
    
    **Thread Safety**:
    - `AtomicLong` for counters (`CrawlerContext.accessCount`)
    - `volatile` for status flags
    - Synchronized blocks for critical sections
    - Thread-local storage via `CrawlingParameterUtil`
    
    **Resource Management**:
    - `AutoCloseable` throughout
    - `DeferredFileOutputStream` for large responses (temp files for >1MB)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            this.indexName = indexName;
            supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS);
            totalDocNum = getTotal();
        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
                addDocumentToQueue();
            }
    
            return queue.poll();
        }
    
        @Override
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                            final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
                            if (polled != null) {
                                count++;
                                synchronized (allUrls) {
                                    allUrls.add(polled.getUrl());
                                }
                            }
                        }
                        totalPolled.addAndGet(count);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

            resultData.setTransformerName(getName());
    
            initBaseDir();
    
            final String url = responseData.getUrl();
            final String path = getFilePath(url);
    
            synchronized (this) {
    
                final File file = createFile(path);
    
                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * @throws DcerpcException if the bind operation fails
         * @throws IOException if an I/O error occurs
         */
        public void bind() throws DcerpcException, IOException {
            synchronized (this) {
                try {
                    state = 1;
                    final DcerpcMessage bind = new DcerpcBind(binding, this);
                    sendrecv(bind);
                } catch (final IOException ioe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        public SmbClient() {
            super();
        }
    
        /**
        * Initializes the SMB client.
        * @see org.codelibs.fess.crawler.client.AbstractCrawlerClient#init()
        */
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
                return;
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing SmbClient...");
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  9. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Serializes execution of tasks, somewhat like an "asynchronous {@code synchronized} block." Each
     * {@linkplain #submit enqueued} callable will not be submitted to its associated executor until the
     * previous callable has returned -- and, if the previous callable was an {@link AsyncCallable}, not
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. docs/smb3-features/06-witness-protocol-design.md

        private final int batchSize = 10;
        private final long batchTimeout = 100;  // 100ms
        
        public void addNotification(WitnessNotification notification) {
            synchronized (pendingNotifications) {
                pendingNotifications.offer(notification);
                
                if (pendingNotifications.size() >= batchSize) {
                    processBatch();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top