Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for invalidDate (0.49 sec)

  1. android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        final List<Object> invalidated = Lists.newArrayList();
        Cache<Integer, Integer> cache =
            new AbstractCache<Integer, Integer>() {
              @Override
              public Integer getIfPresent(Object key) {
                throw new UnsupportedOperationException();
              }
    
              @Override
              public void invalidate(Object key) {
                invalidated.add(key);
              }
            };
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        final List<Object> invalidated = Lists.newArrayList();
        Cache<Integer, Integer> cache =
            new AbstractCache<Integer, Integer>() {
              @Override
              public Integer getIfPresent(Object key) {
                throw new UnsupportedOperationException();
              }
    
              @Override
              public void invalidate(Object key) {
                invalidated.add(key);
              }
            };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheStats.java

        return (totalLoadCount == 0) ? 0.0 : (double) totalLoadTime / totalLoadCount;
      }
    
      /**
       * Returns the number of times an entry has been evicted. This count does not include manual
       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

        return (totalLoadCount == 0) ? 0.0 : (double) totalLoadTime / totalLoadCount;
      }
    
      /**
       * Returns the number of times an entry has been evicted. This count does not include manual
       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Cache.java

       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/cache/Cache.java

       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Network.java

       *
       * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
    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)
  8. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      }
    
      public void testApply() {
        when(mock.apply("key")).thenReturn(Boolean.TRUE);
        assertSame(Boolean.TRUE, forward.apply("key"));
      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testRefresh() throws ExecutionException {
        forward.refresh("key");
        verify(mock).refresh("key");
      }
    
      public void testInvalidateAll() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getCreationTime(): Long {
        return delegate!!.creationTime
      }
    
      override fun getLastAccessedTime(): Long {
        return delegate!!.lastAccessedTime
      }
    
      override fun invalidate() {
        delegate!!.invalidate()
      }
    
      override fun isValid(): Boolean {
        return delegate!!.isValid
      }
    
      override fun putValue(
        s: String,
        o: Any,
      ) {
        delegate!!.putValue(s, o)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/ForwardingCacheTest.java

        assertEquals(
            ImmutableMap.of("key", Boolean.TRUE), forward.getAllPresent(ImmutableList.of("key")));
      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testInvalidateAllIterable() {
        forward.invalidateAll(ImmutableList.of("key"));
        verify(mock).invalidateAll(ImmutableList.of("key"));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top