Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for refreshing (0.05 sec)

  1. android/guava/src/com/google/common/cache/Cache.java

       *   <li>consolidation of the loader logic to {@linkplain CacheBuilder#build(CacheLoader) a single
       *       authoritative location}
       *   <li>{@linkplain LoadingCache#refresh refreshing of entries}, including {@linkplain
       *       CacheBuilder#refreshAfterWrite automated refreshing}
       *   <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain
       *       CacheLoader#loadAll bulk loading implementations}
       * </ul>
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.transport.client.Client;
    
    /**
     * The Suggester class provides functionality for managing and querying suggestion indices.
     * It includes methods for creating, refreshing, and switching indices, as well as for
     * retrieving popular words and indexing suggestions.
     *
     * <p>Constructor:
     * <ul>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 21.6K bytes
    - Viewed (3)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
            SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, auth::refresh);
            assertTrue(ex.getMessage().contains("Refreshing credentials is not supported"));
        }
    
        @Test
        @DisplayName("clone: copies all relevant fields")
        void clone_copiesFields() {
            Subject subj = new Subject();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                Subject copySubj = copy.getSubject();
                assertNotNull(copySubj);
                assertSame(cachedOrig, copySubj, "Clone should share the cached Subject reference");
    
                // Refreshing the original must not clear the clone's cached subject
                orig.refresh();
                // Clone should retain its cached Subject
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. cmd/metacache.go

    					}
    					return
    				}
    				m = m2
    				if serverDebugLog {
    					console.Debugln("refreshed", m.id, time.Now().Format(time.RFC3339))
    				}
    			} else if serverDebugLog {
    				console.Debugln("error refreshing", m.id, time.Now().Format(time.RFC3339))
    			}
    		}
    	}
    }
    
    // baseDirFromPrefix will return the base directory given an object path.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.Kerb5Authenticator#refresh()
         */
        @Override
        public void refresh() throws CIFSException {
            log.debug("Refreshing JAAS credentials");
            this.cachedSubject = null;
        }
    
        @Override
        public synchronized Subject getSubject() {
            if (this.cachedSubject != null) {
                return this.cachedSubject;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/cache/LoadingCache.java

       * previous value (if any) will continue to be returned by {@code get(key)} unless it is evicted.
       * If the new value is loaded successfully it will replace the previous value in the cache; if an
       * exception is thrown while refreshing the previous value will remain, <i>and the exception will
       * be logged (using {@link java.util.logging.Logger}) and swallowed</i>.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. internal/dsync/dsync_test.go

    	dm1 := NewDRWMutex(ds, "aap")
    	dm2 := NewDRWMutex(ds, "noot")
    
    	dm1.Lock(id, source)
    	dm2.Lock(id, source)
    	dm1.Unlock(t.Context())
    	dm2.Unlock(t.Context())
    }
    
    // Test refreshing lock - refresh should always return true
    func TestSuccessfulLockRefresh(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	dm := NewDRWMutex(ds, "aap")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top