Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for OnConnect (0.12 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/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessSpec.groovy

            when:
            workerProcess.setExecHandle(execHandle)
            workerProcess.startAccepting(acceptor)
    
            op.start {
                op.callbackLater {
                    workerProcess.onConnect(connection)
                }
                workerProcess.start()
            }
    
            then:
            1 * execHandle.addListener(_)
            1 * execHandle.start()
            1 * acceptor.requestStop()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 07:21:35 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/process/internal/worker/DefaultWorkerProcessBuilderSpec.groovy

            then:
            2 * javaExecHandleBuilder.getMaxHeapSize() >> "1024m"
    
            when:
            process.start()
    
            then:
            1 * execHandle.start() >> process.delegate.onConnect(Stub(ObjectConnection))
    
            and:
            1 * memoryManager.requestFreeMemory(1024*1024*1024)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 21:01:42 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

            if (body != null) {
                throw new CurlException("body method is already called.");
            }
            this.bodyStream = stream;
            return this;
        }
    
        public CurlRequest onConnect(final BiConsumer<CurlRequest, HttpURLConnection> connectionBuilder) {
            this.connectionBuilder = connectionBuilder;
            return this;
        }
    
        public CurlRequest param(final String key, final String value) {
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. 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)
Back to top