Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for IsActive (0.25 sec)

  1. src/main/java/jcifs/NetbiosAddress.java

         *            context to use
         * @return whether this address is active
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isActive ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Determines if this address is set to be permanent.
         * 
         * @param tc
         *            context to use
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                if (request != null) {
                    List<Proxy> proxies = request.getProxies();
    
                    if (proxies != null) {
                        for (Proxy proxy : proxies) {
                            if (proxy.isActive() && protocol.equalsIgnoreCase(proxy.getProtocol())) {
                                SettingsDecryptionResult result =
                                        settingsDecrypter.decrypt(new DefaultSettingsDecryptionRequest(proxy));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. internal/config/lambda/parse.go

    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    		defer target.Close()
    	}
    
    	for _, target := range targetList {
    		yes, err := target.IsActive()
    		if err == nil && !yes {
    			err = ErrTargetsOffline
    		}
    		if err != nil {
    			return fmt.Errorf("error (%s): %w", target.ID(), err)
    		}
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

        }
    
        public int getDepth() {
            return depth;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
        }
    
        public boolean isActive() {
            return active;
        }
    
        public void enable() {
            active = true;
    
            // TODO if it was null, we really need to go find them now... or is this taken care of by the ordering?
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. internal/config/lambda/event/targetlist.go

    package event
    
    import (
    	"fmt"
    	"net/http"
    	"strings"
    	"sync"
    )
    
    // Target - lambda target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Send(Event) (*http.Response, error)
    	Stat() TargetStat
    	Close() error
    }
    
    // TargetStats is a collection of stats for multiple targets.
    type TargetStats struct {
    	TargetStats map[string]TargetStat
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

            if (activeProxy == null) {
                java.util.List<Proxy> proxies = getProxies();
                if (proxies != null && !proxies.isEmpty()) {
                    for (Proxy proxy : proxies) {
                        if (proxy.isActive()) {
                            activeProxy = proxy;
                            break;
                        }
                    }
                }
            }
            return activeProxy;
        }
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  7. internal/event/targetlist_test.go

    	return nil
    }
    
    func (target ExampleTarget) Close() error {
    	if target.closeErr {
    		return errors.New("close error")
    	}
    
    	return nil
    }
    
    func (target ExampleTarget) IsActive() (bool, error) {
    	return false, errors.New("not connected to target server/service")
    }
    
    // FlushQueueStore - No-Op. Added for interface compatibility
    func (target ExampleTarget) FlushQueueStore() error {
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
    
                proxy = proxy.clone();
    
                request.addProxy(proxy);
            }
    
            // <mirrors>
            //   <mirror>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  9. cmd/event-notification.go

    		// This list is only meant for external targets, filter
    		// this out pro-actively.
    		if !strings.HasPrefix(targetID.ID, "httpclient+") {
    			if onlyActive {
    				if _, err := target.IsActive(); err != nil {
    					continue
    				}
    			}
    			arns = append(arns, targetID.ToARN(region).String())
    		}
    	}
    
    	return arns
    }
    
    // Loads notification policies for all buckets into EventNotifier.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. internal/event/targetlist.go

    	// The maximum allowed number of concurrent Send() calls to all configured notifications targets
    	maxConcurrentAsyncSend = 50000
    )
    
    // Target - event target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Save(Event) error
    	SendFromStore(store.Key) error
    	Close() error
    	Store() TargetStore
    }
    
    // TargetStore is a shallow version of a target.Store
    type TargetStore interface {
    	Len() int
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top