Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,579 for notified (0.23 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonConnection.java

         */
        void onStdin(@Nullable StdinHandler handler);
    
        /**
         * Registers a handler for when this connection is disconnected unexpectedly.. The handler is notified at most once.
         *
         * The handler is not notified after any of the following occurs:
         * <ul>
         * <li>When the connection is closed using {@link #stop()}.</li>
         * </ul>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultValueSourceProviderFactoryTest.groovy

            provider.get()
    
            then: "beforeValueObtained callback is notified"
            1 * computationListener.beforeValueObtained()
    
            then: "afterValueObtained callback is notified"
            1 * computationListener.afterValueObtained()
    
            then: "valueObtained is notified"
            obtainedValues.size() == 1
            obtainedValues[0].valueSourceType == EchoValueSource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationListener.java

     */
    package org.gradle.internal.operations;
    
    import org.gradle.internal.service.scopes.EventScope;
    import org.gradle.internal.service.scopes.Scope.Global;
    
    /**
     * A listener that is notified as build operations are executed.
     *
     * Listeners must be registered via {@link BuildOperationListenerManager}, not ListenerManager.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy

            }
            thread.blockUntil.notified
    
            then:
            1 * handler.endStream() >> {
                thread.blockUntil.signal
                instant.notified
            }
            0 * _._
        }
    
        def "notifies handler that the end of incoming messages has been reached when stop requested and end-of-stream reached for all connections"() {
            BoundedDispatch<String> handler = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanEndOfBuildNotifierIntegrationTest.groovy

            when:
            buildFile << """
                task t { doFirst { throw new Exception("!") } }
                notifier.notify {
                    println "failure message: \${it.failure.cause.message}"
                    System.err.println "notified"
                }
                // user logic registered _after_ listener registered
                gradle.projectsEvaluated {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    		t.Error(err)
    	}
    	if handled != 0 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 0)
    	}
    
    	if err := f(nil, &v1.Pod{ObjectMeta: pod1, Status: v1.PodStatus{Conditions: readyCondition, PodIP: ip, Phase: v1.PodPending}}, model.EventUpdate); err != nil {
    		t.Error(err)
    	}
    	if handled != 1 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy

        }
    
        def "end of build listener is notified on success"() {
            when:
            succeeds succeedingTaskName
    
            then:
            plugin.assertEndOfBuildWithFailure(output, null)
    
            when:
            succeeds succeedingTaskName
    
            then:
            plugin.assertEndOfBuildWithFailure(output, null)
        }
    
        def "end of build listener is notified on failure"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java

            }
    
            private List<Dispatch<MethodInvocation>> startNotification(boolean includeLogger) {
                takeOwnership();
    
                if (!notified) {
                    maybeAddPendingRegistrations(type);
                    notified = true;
                }
    
                // Take a snapshot while holding lock
                List<Dispatch<MethodInvocation>> result = includeLogger ? allWithLogger : allWithNoLogger;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 10:09:43 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. pkg/windows/service/service.go

    				// We need to translate this request into a signal that can be handled by the signal handler
    				// handling shutdowns normally (currently apiserver/pkg/server/signal.go).
    				// If we do not do this, our main threads won't be notified of the upcoming shutdown.
    				// Since Windows services do not use any console, we cannot simply generate a CTRL_BREAK_EVENT
    				// but need a dedicated notification mechanism.
    				graceful := server.RequestShutdown()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 11:25:33 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/FeatureHandler.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.featurelifecycle;
    
    /**
     * Notified when a deprecated feature is used.
     *
     * <p>Implementations need not be thread-safe.
     */
    public interface FeatureHandler<T extends FeatureUsage> {
        void featureUsed(T usage);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 860 bytes
    - Viewed (0)
Back to top