Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for refreshing (0.28 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
        @Override
        public void refresh() throws CIFSException {
            // custom Kerb5Authenticators need to override this method for support
            throw new SmbUnsupportedOperationException("Refreshing credentials is not supported by this authenticator");
        }
    
        @Override
        public Kerb5Authenticator clone() {
            Kerb5Authenticator auth = new Kerb5Authenticator(getSubject());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top