Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for IsEnabled (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            String remotePath = repository.pathOf(artifact);
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                logger.debug(
                        "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    func setUploadForwardingMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if !globalSiteReplicationSys.isEnabled() ||
    			guessIsHealthCheckReq(r) || guessIsMetricsReq(r) ||
    			guessIsRPCReq(r) || guessIsLoginSTSReq(r) || isAdminReq(r) {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		bucket, object := request2BucketObjectName(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	if err == nil {
    		return nil
    	}
    	return fmt.Errorf("%s->%s: %s: %w", c.state.Name, dstPeer, annotation, err)
    }
    
    // isEnabled returns true if site replication is enabled
    func (c *SiteReplicationSys) isEnabled() bool {
    	c.RLock()
    	defer c.RUnlock()
    	return c.enabled
    }
    
    var errMissingSRConfig = fmt.Errorf("unable to find site replication configuration")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    				if globalAuthNPlugin == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalSiteReplicationSys {
    				if !globalSiteReplicationSys.isEnabled() {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalNotificationSys {
    				if globalNotificationSys == nil {
    					return []MetricV2{}, nil
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            boolean enabled = true;
    
            String updatePolicy = null;
    
            String checksumPolicy = null;
    
            if (policy != null) {
                enabled = policy.isEnabled();
    
                if (policy.getUpdatePolicy() != null) {
                    updatePolicy = policy.getUpdatePolicy();
                }
                if (policy.getChecksumPolicy() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    	if cred.IsTemp() && cred.IsExpired() {
    		return nil, toAPIErrorCode(r.Context(), errInvalidAccessKeyID)
    	}
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() && cred.AccessKey != siteReplicatorSvcAcc {
    		nsecret, err := getTokenSigningKey()
    		if err != nil {
    			return nil, toAPIErrorCode(r.Context(), err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    				if err = globalDNSConfig.Put(bucket); err != nil {
    					objectAPI.DeleteBucket(context.Background(), bucket, DeleteBucketOptions{
    						Force:      true,
    						SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    					})
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    
    				// Load updated bucket metadata into memory.
    				globalNotificationSys.LoadBucketMetadata(GlobalContext, bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    	}
    	return nil
    }
    
    // getTokenSigningKey returns secret key used to sign JWT session tokens
    func getTokenSigningKey() (string, error) {
    	secret := globalActiveCred.SecretKey
    	if globalSiteReplicationSys.isEnabled() {
    		secretKey, err := globalSiteReplicatorCred.Get(GlobalContext)
    		if err != nil {
    			return "", err
    		}
    		return secretKey, nil
    	}
    	return secret, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            if (StringUtil.isBlank(url)) {
                throw new CrawlerSystemException("url is null or empty.");
            }
    
            if (robotsTxtHelper == null || !robotsTxtHelper.isEnabled()) {
                // not support robots.txt
                return;
            }
    
            // crawler context
            final CrawlerContext crawlerContext = CrawlingParameterUtil.getCrawlerContext();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. api/go1.11.txt

    pkg os, const ModeType = 2399666176
    pkg os, func UserCacheDir() (string, error)
    pkg os/signal, func Ignored(os.Signal) bool
    pkg regexp/syntax, method (Op) String() string
    pkg runtime/trace, func IsEnabled() bool
    pkg runtime/trace, func Log(context.Context, string, string)
    pkg runtime/trace, func Logf(context.Context, string, string, ...interface{})
    pkg runtime/trace, func NewTask(context.Context, string) (context.Context, *Task)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
Back to top