Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for concurrencia (0.24 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        try {
          ticker.setAutoIncrementStep(-1, TimeUnit.NANOSECONDS);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        final FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        try {
          ticker.setAutoIncrementStep(-1, TimeUnit.NANOSECONDS);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        final FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

        }
        this.initialCapacity = initialCapacity;
        return this;
      }
    
      @CanIgnoreReturnValue
      public MapMaker concurrencyLevel(int concurrencyLevel) {
        checkArgument(
            concurrencyLevel >= 1, "concurrency level (%s) must be at least 1", concurrencyLevel);
        // GWT technically only supports concurrencyLevel == 1, but we silently
        // ignore other positive values.
        return this;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        exec.shutdown();
        exec.awaitTermination(100, MILLISECONDS);
      }
    
      /**
       * Tests that all listeners complete, even if they were added before or after the future was
       * finishing. Also acts as a concurrency test to make sure the locking is done correctly when a
       * future is finishing so that no listeners can be lost.
       */
      public void testAllListenersCompleteSuccessfully()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Interners.java

         */
        @GwtIncompatible("java.lang.ref.WeakReference")
        public InternerBuilder weak() {
          this.strong = false;
          return this;
        }
    
        /**
         * Sets the concurrency level that will be used by the to-be-built {@link Interner}.
         *
         * @see MapMaker#concurrencyLevel(int)
         */
        public InternerBuilder concurrencyLevel(int concurrencyLevel) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. README.md

    
    
    Guava is a set of core Java libraries from Google that includes new collection
    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Guava comes in two flavors:
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Concurrency utilities.
     *
     * <p>Commonly used types include {@link ClosingFuture}, {@link ListenableFuture}, and {@link
     * Service}.
     *
     * <p>Commonly used utilities include {@link Futures}, {@link MoreExecutors}, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Interners.java

         */
        @GwtIncompatible("java.lang.ref.WeakReference")
        public InternerBuilder weak() {
          this.strong = false;
          return this;
        }
    
        /**
         * Sets the concurrency level that will be used by the to-be-built {@link Interner}.
         *
         * @see MapMaker#concurrencyLevel(int)
         */
        public InternerBuilder concurrencyLevel(int concurrencyLevel) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/eventbus/package-info.java

     * the License.
     */
    
    /**
     * <a href="https://guava.dev/EventBus">Discouraged</a> in favor of dependency injection and
     * concurrency frameworks, EventBus allows publish-subscribe-style communication.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     */
    @CheckReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        exec.shutdown();
        exec.awaitTermination(100, MILLISECONDS);
      }
    
      /**
       * Tests that all listeners complete, even if they were added before or after the future was
       * finishing. Also acts as a concurrency test to make sure the locking is done correctly when a
       * future is finishing so that no listeners can be lost.
       */
      public void testAllListenersCompleteSuccessfully()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top