Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 790 for store (0.04 sec)

  1. internal/cachevalue/cache.go

    	if err != nil {
    		if t.opts.ReturnLastGood && t.val.Load() != nil {
    			// Keep last good value, so update
    			// does not return an error.
    			return nil
    		}
    		return err
    	}
    
    	t.val.Store(&val)
    	t.lastUpdateMs.Store(time.Now().UnixMilli())
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    			break
    		}
    	}
    }
    
    func (r *rebalanceMeta) load(ctx context.Context, store objectIO) error {
    	return r.loadWithOpts(ctx, store, ObjectOptions{})
    }
    
    func (r *rebalanceMeta) loadWithOpts(ctx context.Context, store objectIO, opts ObjectOptions) error {
    	data, _, err := readConfigWithMetadata(ctx, store, rebalMetaName, opts)
    	if err != nil {
    		return err
    	}
    
    	if len(data) == 0 {
    		return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

        /**
         * Uses previously stored resumption data to enrich an existing execution request.
         * @param request The execution request that will be enriched.
         * @param rootProject The root project that is being built.
         */
        void applyResumptionData(MavenExecutionRequest request, MavenProject rootProject);
    
        /**
         * Removes previously stored resumption data.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final DuplicateHost duplicateHost = getDuplicateHost(body).map(entity -> {
                try {
                    duplicateHostService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

                return null;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
            kuromojiService.store(body.dictId, entity);
            return asJson(
                    new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Storing accessResult: {}", accessResult);
                    }
                    try {
                        // store
                        CrawlingParameterUtil.getDataService().store(accessResult);
                    } catch (final Exception e) {
                        crawlerContext.decrementAndGetAccessCount();
                        if (urlQueueService.visited(urlQueue)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
                return null;
            });
            try {
                scheduledJobService.store(entity);
                saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final WebConfig webConfig = getWebConfig(body).map(entity -> {
                try {
                    webConfigService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        /* (non-Javadoc)
         * @see org.codelibs.fess.ds.callback.IndexUpdateCallback#store(java.util.Map)
         */
        @Override
        public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            systemHelper.calibrateCpuLoad();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

     */
    @Experimental
    @ThreadSafe
    @Provider
    public interface SessionData {
    
        /**
         * Associates the specified session data with the given key.
         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param value the data to associate with the key, may be {@code null} to remove the mapping
         */
        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top