Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for OnConnect (0.15 sec)

  1. pilot/pkg/autoregistration/controller_test.go

    		// simply make sure the entry exists after connecting
    		p1conn1 = makeConn(p, time.Now())
    		c1.OnConnect(p1conn1)
    		checkEntryOrFail(t, store, wgA, p, n, c1.instanceID)
    	})
    	t.Run("multinetwork same ip", func(t *testing.T) {
    		// make sure we don't overrwrite a similar entry for a different network
    		p2conn1 = makeConn(p2, time.Now())
    		c2.OnConnect(p2conn1)
    		checkEntryOrFail(t, store, wgA, p, n, c1.instanceID)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcess.java

            try {
                this.acceptor = acceptor;
            } finally {
                lock.unlock();
            }
        }
    
        public void onConnect(ObjectConnection connection) {
            onConnect(connection, null);
        }
    
        public void onConnect(ObjectConnection connection, Runnable connectionHandler) {
            AsyncStoppable stoppable;
            lock.lock();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:39:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tests/fuzz/autoregistration_controller_fuzzer.go

    // in the workloadentry package. It does so by setting
    // up a workloadentry controller with a proxy with
    // pseudo-random values.
    // The fuzzer then uses the controller to test:
    // 1: OnConnect
    // 2: OnDisconnect
    // 3: QueueWorkloadEntryHealth
    func FuzzWE(data []byte) int {
    	f := fuzz.NewConsumer(data)
    	proxy := &model.Proxy{}
    	err := f.GenerateStruct(proxy)
    	if err != nil {
    		return 0
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            if (!healthResponse.isTimedOut()) {
                onConnectListenerList.forEach(l -> {
                    try {
                        l.onConnect();
                    } catch (final Exception e) {
                        logger.warn("Failed to invoke " + l, e);
                    }
                });
    
                connected = true;
            } else {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcessBuilder.java

            final DefaultWorkerProcess workerProcess = new DefaultWorkerProcess(connectTimeoutSeconds, TimeUnit.SECONDS, memoryStatus);
            ConnectionAcceptor acceptor = server.accept(connection ->
                workerProcess.onConnect(connection, () -> {
                    DefaultWorkerLoggingProtocol defaultWorkerLoggingProtocol = new DefaultWorkerLoggingProtocol(outputEventListener);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } else if (entry.getValue().length == 1) {
                    curlRequest.param(entry.getKey(), entry.getValue()[0]);
                }
            });
            try (final CurlResponse curlResponse = curlRequest.onConnect((req, con) -> {
                con.setDoOutput(true);
                if (httpMethod != Method.GET && request.getContentLength() > 2) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:28:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. pilot/pkg/autoregistration/controller.go

    	c.Annotations[annotation.IoIstioWorkloadController.Name] = controller
    	c.Annotations[annotation.IoIstioConnectedAt.Name] = conTime.Format(timeFormat)
    	delete(c.Annotations, annotation.IoIstioDisconnectedAt.Name)
    }
    
    // OnConnect determines whether a connecting proxy represents a non-Kubernetes
    // workload and, if that's the case, initiates special processing required for that type
    // of workloads, such as auto-registration, health status updates, etc.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            final ObjectMapper mapper = new ObjectMapper();
            final AtomicBoolean resetJobs = new AtomicBoolean(false);
            try (CurlResponse response = ComponentUtil.getCurlHelper().post("/_bulk").onConnect((req, con) -> {
                con.setDoOutput(true);
                try (final BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile)));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/ads.go

    	proxy := con.proxy
    	// this should be done before we look for service instances, but after we load metadata
    	// TODO fix check in kubecontroller treat echo VMs like there isn't a pod
    	if err := s.WorkloadEntryController.OnConnect(con); err != nil {
    		return err
    	}
    	s.computeProxyState(proxy, nil)
    	// Discover supported IP Versions of proxy so that appropriate config can be delivered.
    	proxy.DiscoverIPMode()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top