Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 251 for Refresh (0.04 seconds)

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

        return delegate().getAll(keys);
      }
    
      @Override
      public V apply(K key) {
        return delegate().apply(key);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
       * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already
       * constructed {@link LoadingCache} as the delegate.
       *
       * @since 10.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. internal/dsync/locker.go

    	// Canceling the context will abort the remote call.
    	// In that case, the resource may or may not be unlocked.
    	Unlock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Refresh the given lock to prevent it from becoming stale
    	Refresh(ctx context.Context, args LockArgs) (bool, error)
    
    	// Unlock (read/write) forcefully for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jan 18 20:44:38 GMT 2022
    - 2.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            logger.info("FileConfig is created");
            refresh();
            fileConfigId = getFileConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created");
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
        }
    
        @BeforeEach
        protected void init() {
            refresh();
        }
    
        @AfterEach
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                    "createdTime", now, //
                    "expiredTime", now + ttl));
    
            try (CurlResponse response = ComponentUtil.getCurlHelper() //
                    .put("/" + getIndexName() + "/_doc/" + instanceId + "?refresh=true") //
                    .body(body)
                    .execute()) {
                if (response.getHttpStatusCode() != 200 && response.getHttpStatusCode() != 201) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K 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/entity/FessUserTest.java

            assertTrue(user.refresh());
            assertEquals(1, user.getRefreshCount());
    
            // Test multiple refreshes
            user.refresh();
            user.refresh();
            assertEquals(3, user.getRefreshCount());
    
            // Test custom implementation that returns false
            user = new TestRefreshableFessUser("testuser", false);
            assertFalse(user.refresh());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. docs/features/caching.md

    ```kotlin
    cache.evictAll()
    ```
    
    Removing individual items can be done using the urls iterator.
    This would be typical after a user initiates a force refresh by a pull to refresh type action.
    
    ```java
        val urlIterator = cache.urls()
        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
            urlIterator.remove()
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

            return relatedQueryBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related query in the database.
         * After storing, the related query helper is updated to refresh the cache.
         *
         * @param relatedQuery the RelatedQuery entity to store
         */
        public void store(final RelatedQuery relatedQuery) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/LoadingCache.java

       * key}. If the cache loader associated with this cache performs refresh asynchronously then this
       * method may return before refresh completes.
       *
       * @since 11.0
       */
      @GwtIncompatible
      @J2ktIncompatible
      void refresh(K key);
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
        if (expireAfterAccess != null) {
          builder.expireAfterAccess(expireAfterAccess.duration, expireAfterAccess.unit);
        }
        if (refresh != null) {
          builder.refreshAfterWrite(refresh.duration, refresh.unit);
        }
        if (keyStrength != null) {
          builder.setKeyStrength(keyStrength);
        }
        if (valueStrength != null) {
          builder.setValueStrength(valueStrength);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top