Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for synchronization (0.59 sec)

  1. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * reentrant, so a thread may enter a monitor any number of times, and then must leave the same
     * number of times. The <i>enter</i> and <i>leave</i> operations have the same synchronization
     * semantics as the built-in Java language synchronization primitives.
     *
     * <p>A call to any of the <i>enter</i> methods with <b>void</b> return type should always be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ValueGraph.java

     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#notes-for-implementors">Notes
     *       for implementors</a>
     * </ul>
     *
     * @author James Sexton
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          }
        }
    
        private static class RunnableExecutorPair {
          final Runnable runnable;
          final Executor executor;
          // Volatile because this is written on one thread and read on another with no synchronization.
          @Nullable volatile RunnableExecutorPair next;
    
          RunnableExecutorPair(@Nullable Runnable runnable, @Nullable Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graph.java

     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#notes-for-implementors">Notes
     *       for implementors</a>
     * </ul>
     *
     * @author James Sexton
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMaker.java

       * usually have much noticeable impact. A value of one permits only one thread to modify the map
       * at a time, but since read operations can proceed concurrently, this still yields higher
       * concurrency than full synchronization. Defaults to 4.
       *
       * <p><b>Note:</b> Prior to Guava release 9.0, the default was 16. It is possible the default will
       * change again in the future. If you care about this value, you should always choose it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Network.java

     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#notes-for-implementors">Notes
     *       for implementors</a>
     * </ul>
     *
     * @author James Sexton
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            default:
              throw new AssertionError("unexpected state: " + state);
          }
        }
      }
    
      abstract static class OldAbstractFuture<V> implements ListenableFuture<V> {
    
        /** Synchronization control for AbstractFutures. */
        private final Sync<V> sync = new Sync<V>();
    
        // The execution list to hold our executors.
        private final ExecutionList executionList = new ExecutionList();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 13.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            default:
              throw new AssertionError("unexpected state: " + state);
          }
        }
      }
    
      abstract static class OldAbstractFuture<V> implements ListenableFuture<V> {
    
        /** Synchronization control for AbstractFutures. */
        private final Sync<V> sync = new Sync<V>();
    
        // The execution list to hold our executors.
        private final ExecutionList executionList = new ExecutionList();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * #runOneIteration} takes longer than its schedule defines, then subsequent executions may start
     * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely modify
     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
     * implementations, synchronization is unnecessary between a thread that writes to one cell and a
     * thread that reads from another.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
Back to top