Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for Refresh (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            runner.refresh();
            suggester = Suggester.builder().build(runner.client(), "SuggesterTest");
            suggester.createIndexIfNothing();
        }
    
        @Test
        public void test_indexAndSuggest() throws Exception {
            SuggestItem[] items = getItemSet1();
            suggester.indexer().index(items);
            suggester.refresh();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Refresh should clear the cache
            auth.refresh();
            Subject afterRefresh = auth.getSubject();
            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         * @return true if expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() - lastUpdateTime > maxAge;
        }
    
        /**
         * Check if cache needs refresh
         *
         * @return true if refresh needed
         */
        public boolean needsRefresh() {
            return isExpired() || hasChanges;
        }
    
        /**
         * Mark the cache as complete (full enumeration cached)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CredentialsInternalTest.java

            }
        }
    
        @Test
        @DisplayName("refresh succeeds when not configured to fail")
        void refresh_success() throws Exception {
            TestCredentials creds = new TestCredentials("Z", false, false, new Subject(), false);
            // Should not throw
            assertDoesNotThrow(creds::refresh);
        }
    
        @Test
        @DisplayName("refresh throws CIFSException when configured to fail")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/CredentialsInternal.java

         * Get the security subject associated with these credentials.
         * @return subject associated with the credentials
         */
        Subject getSubject();
    
        /**
         * Refresh the credentials.
         * @throws CIFSException if refresh fails
         */
        void refresh() throws CIFSException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. cmd/lock-rest-server.go

    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	// Add a timeout similar to what we expect upstream.
    	ctx, cancel := context.WithTimeout(context.Background(), dsync.DefaultTimeouts.RefreshCall)
    	defer cancel()
    
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(ctx, *args)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. cmd/tier-handlers.go

    	switch cfg.Name {
    	case storageclass.STANDARD, storageclass.RRS:
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

            to.configuration = from.configuration;
            to.cachedSubject = from.cachedSubject;
        }
    
        /**
         * {@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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  9. cmd/lock-rest-client.go

    // RUnlock calls read unlock REST API.
    func (c *lockRESTClient) RUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRUnlock, &args)
    }
    
    // Refresh calls Refresh REST API.
    func (c *lockRESTClient) Refresh(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRefresh, &args)
    }
    
    // Unlock calls write unlock RPC.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            case FILE_MODIFIED:
                // Remove from cache to force refresh
                entry.removeChild(childName);
                break;
    
            case DIRECTORY_RENAMED:
                // Full invalidation needed
                entry.invalidate();
                break;
    
            case ATTRIBUTES_CHANGED:
                // Remove from cache to force refresh
                entry.removeChild(childName);
                break;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top