Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 178 for refreshes (0.17 seconds)

  1. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 31 19:54:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.20.md

      
      ### AWS
      - Regenerate list of EC2 instances
      - Fix pricing endpoint in AWS China Region
      
      ### Azure
      - Add optional jitter on initial VMSS VM cache refresh, keep the refreshes spread over time
      - Serve from cache for the whole period of ongoing throttling
      - Fix unwanted VMSS VMs cache invalidation
      - Enforce setting the number of retries if cloud provider backoff is enabled
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
  3. internal/dsync/dsync-server_test.go

    	lockMap map[string]int64
    
    	// Refresh returns lock not found if set to true
    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    	responseDelay int64
    }
    
    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    func (l *lockServer) setResponseDelay(responseDelay time.Duration) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("Token refreshed successfully via silent authentication");
                        }
                        return true;
                    }
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Silent token refresh failed: {}", e.getMessage());
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. internal/dsync/dsync-client_test.go

    	return restClient.Call("/v1/unlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Refresh(ctx context.Context, args LockArgs) (refreshed bool, err error) {
    	return restClient.Call("/v1/refresh", args)
    }
    
    func (restClient *ReconnectRESTClient) ForceUnlock(ctx context.Context, args LockArgs) (reply bool, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                    webConfig.setId(id + "_refreshed");
                    return OptionalEntity.of(webConfig);
                }
    
                @Override
                public OptionalEntity<WebConfig> getWebConfigByName(String name) {
                    return OptionalEntity.empty();
                }
            }, WebConfigService.class.getCanonicalName());
    
            // Without refresh, should still get cached version
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  7. cmd/local-locker.go

    			delete(l.lockUID, mapID)
    			idx++
    			continue
    		}
    		reply = true
    		l.removeEntry(resource, dsync.LockArgs{UID: args.UID}, &lris)
    		idx++
    	}
    }
    
    func (l *localLocker) Refresh(ctx context.Context, args dsync.LockArgs) (refreshed bool, err error) {
    	if ctx.Err() != nil {
    		return false, ctx.Err()
    	}
    
    	defer l.getMutex()()
    	if ctx.Err() != nil {
    		return false, ctx.Err()
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Computes or retrieves a replacement value corresponding to an already-cached {@code key}. This
       * method is called when an existing cache entry is refreshed by {@link
       * CacheBuilder#refreshAfterWrite}, or through a call to {@link LoadingCache#refresh}.
       *
       * <p>This implementation synchronously delegates to {@link #load}. It is recommended that it be
       * overridden with an asynchronous implementation when using {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Computes or retrieves a replacement value corresponding to an already-cached {@code key}. This
       * method is called when an existing cache entry is refreshed by {@link
       * CacheBuilder#refreshAfterWrite}, or through a call to {@link LoadingCache#refresh}.
       *
       * <p>This implementation synchronously delegates to {@link #load}. It is recommended that it be
       * overridden with an asynchronous implementation when using {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                Assertions.assertEquals(firstTime, observedTimes[i], "All threads should see same time due to volatile");
            }
        }
    
        /**
         * Test cache refresh mechanism with concurrent access.
         * Verifies that cache is refreshed correctly even with concurrent readers.
         */
        @Test
        public void test_cacheRefresh_withConcurrentReads() throws Exception {
            final int[] loadCount = { 0 };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top