Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 235 for refresh (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
            if (labelTypeHelper != null) {
                labelTypeHelper.refresh(getLabelTypeList());
            }
        }
    
        protected void setupListCondition(final LabelTypeCB cb, final LabelTypePager labelTypePager) {
            if (StringUtil.isNotBlank(labelTypePager.name)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    type lockRESTServer struct {
    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/ITBase.java

            }
            given().contentType("application/json").delete(getEsUrl() + "/fess_config.access_token/_doc/" + DEFAULT_TEST_TOKEN_ID);
        }
    
        public static void refresh() {
            given().contentType("application/json").post(getEsUrl() + "/_refresh");
        }
    
        public static String getFessUrl() {
            return System.getProperty("test.fess.url", DEFAULT_FESS_URL);
        }
    
        public static String getEsUrl() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testRefresh() throws ExecutionException {
        forward.refresh("key");
        verify(mock).refresh("key");
      }
    
      public void testInvalidateAll() {
        forward.invalidateAll();
        verify(mock).invalidateAll();
      }
    
      public void testSize() {
        when(mock.size()).thenReturn(0L);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LoadingCache.java

       * <p>Returns without doing anything if another thread is currently loading the value for {@code
       * key}. If the cache loader associated with this cache performs refresh asynchronously then this
       * method may return before refresh completes.
       *
       * @since 11.0
       */
      void refresh(K key);
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note that although the view <i>is</i> modifiable, no method on the returned map will ever
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            while (idList.size() > 0 && count < NUM) {
                final String id = idList.get(0);
                checkDeleteMethod(getItemEndpointSuffix() + "/" + id.toString());
                refresh();
                idList = getIdList(searchBody);
                count += 1;
            }
        }
    
        @AfterAll
        protected static void tearDownAll() {
            deleteTestToken();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

            : expireAfterAccessNanos;
      }
    
      /**
       * Specifies that active entries are eligible for automatic refresh once a fixed duration has
       * elapsed after the entry's creation, or the most recent replacement of its value. The semantics
       * of refreshes are specified in {@link LoadingCache#refresh}, and are performed by calling {@link
       * CacheLoader#reload}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      }
    
      public void testInvalidate() {
        forward.invalidate("key");
        verify(mock).invalidate("key");
      }
    
      public void testRefresh() throws ExecutionException {
        forward.refresh("key");
        verify(mock).refresh("key");
      }
    
      public void testInvalidateAll() {
        forward.invalidateAll();
        verify(mock).invalidateAll();
      }
    
      public void testSize() {
        when(mock.size()).thenReturn(0L);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().getAll(keys);
      }
    
      @Override
      public V apply(K key) {
        return delegate().apply(key);
      }
    
      @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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.9K bytes
    - Viewed (0)
Back to top