Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 288 for synchronized (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

            uqList.addAll(urlQueueList);
            urlQueueMap.put(sessionId, uqList);
        }
    
        public synchronized void removeUrlQueueList(final String sessionId) {
            urlQueueMap.remove(sessionId);
        }
    
        public synchronized void clearUrlQueueList() {
            urlQueueMap.clear();
        }
    
        public synchronized Map<String, AccessResultImpl<Long>> getAccessResultMap(final String sessionId) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt

      private val _failedRoutes = mutableSetOf<Route>()
    
      val failedRoutes: Set<Route>
        @Synchronized get() = _failedRoutes.toSet()
    
      /** Records a failure connecting to [failedRoute]. */
      @Synchronized fun failed(failedRoute: Route) {
        _failedRoutes.add(failedRoute)
      }
    
      /** Records success connecting to [route]. */
      @Synchronized fun connected(route: Route) {
        _failedRoutes.remove(route)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            ArtifactTransferEvent event = wrap(transferEvent);
    
            Long transferred;
            synchronized (transfers) {
                transferred = transfers.remove(transferEvent.getResource());
            }
            if (transferred != null) {
                event.setTransferredBytes(transferred);
            }
    
            synchronized (artifacts) {
                artifacts.remove(transferEvent.getResource());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

              throw t;
            }
          }
          return;
        }
    
        /*
         * This is an unsynchronized read! After the read, the function returns immediately or acquires
         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
         * block, and reference field assignment is atomic, this may save reacquiring the lock when
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

              throw t;
            }
          }
          return;
        }
    
        /*
         * This is an unsynchronized read! After the read, the function returns immediately or acquires
         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
         * block, and reference field assignment is atomic, this may save reacquiring the lock when
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

        startTask();
        try {
          command.run();
        } finally {
          endTask();
        }
      }
    
      @Override
      public boolean isShutdown() {
        synchronized (lock) {
          return shutdown;
        }
      }
    
      @Override
      public void shutdown() {
        synchronized (lock) {
          shutdown = true;
          if (runningTasks == 0) {
            lock.notifyAll();
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/BufferCache.java

            }
        }
        static void getBuffers( SmbComTransaction req, SmbComTransactionResponse rsp ) {
            synchronized( cache ) {
                req.txn_buf = getBuffer();
                rsp.txn_buf = getBuffer();
            }
        }
        static public void releaseBuffer( byte[] buf ) {
            synchronized( cache ) {
                if (freeBuffers < MAX_BUFFERS) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * greater than the max size if a background deletion is pending.
       */
      @Synchronized
      @Throws(IOException::class)
      fun size(): Long {
        initialize()
        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
      ) {
        val entry = editor.entry
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * 管理している {@link TimeoutTask}をクリアします。
         */
        public synchronized void clear() {
            timeoutTaskList.clear();
        }
    
        /**
         * {@link TimeoutTarget}を追加します。
         *
         * @param timeoutTarget target
         * @param timeout timeout
         * @param permanent permanent
         * @return {@link TimeoutTask}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top