Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 608 for Thread (0.12 sec)

  1. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     * equality for both keys and values, unlike {@code ForwardingMap}.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        public void finalizeReferent() {
          finalizeReferentCalled = true;
        }
      }
    
      /**
       * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we
       * know that the background thread has stopped and released its strong reference.
       */
      private WeakReference<ReferenceQueue<Object>> queueReference;
    
    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     * invoke methods, they invoke methods on the {@code ForwardingBlockingDeque}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Emily Soldal
     * @since 14.0
     * @deprecated This class has moved to {@code com.google.common.util.concurrent}. Please use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       * lifted. Such writes occur on an application-provided thread and may occur concurrently with
       * reads of the [ResponseBody]. For duplex request bodies, [writeTo] should return
       * quickly, possibly by handing off the provided request body to another thread to perform
       * writing.
       *
       * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        throw new IllegalArgumentException("Invalid threads core multiplier value: '" + threadConfiguration
                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                final long startTime = SystemUtil.currentTimeMillis();
                ResponseData responseData = null;
                try {
                    // head method
                    responseData = client.execute(RequestDataBuilder.newRequestData().head().url(urlQueue.getUrl()).build());
                    if (responseData != null && responseData.getLastModified() != null
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/AbstractCIFSContext.java

    import jcifs.Credentials;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType;
    
    
    /**
     * @author mbechler
     *
     */
    public abstract class AbstractCIFSContext extends Thread implements CIFSContext {
    
        private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class);
        private boolean closed;
    
    
        /**
         * 
         */
        public AbstractCIFSContext () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                SingletonLaContainerFactory.setExternalContextComponentDefRegister(new GenericExternalContextComponentDefRegister());
                SingletonLaContainerFactory.init();
    
                final Thread shutdownCallback = new Thread("ShutdownHook") {
                    @Override
                    public void run() {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Destroying LaContainer..");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top