Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 177 for instantly (0.21 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpec.groovy

        /**
         * An object that allows instants to be defined and queried.
         *
         * @see NamedInstant
         */
        final Instants instant = new Instants(logger)
    
        /**
         * An object that allows operations to be defined and queried.
         *
         * @see NamedOperation
         */
        final Operations operation = new Operations(instant, instant)
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. operator/pkg/apis/istio/v1alpha1/values_types.proto

      //
      // If the probe is disabled, it is recommended to have delay=1s,period=2s,failureThreshold=30.
      // This ensures the startup is reasonable fast (polling every 2s). 1s delay is used since the startup is not often ready instantly.
      google.protobuf.BoolValue enabled = 1;
    
      // Minimum consecutive failures for the probe to be considered failed after having succeeded.
      uint32 failureThreshold = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/BlockTarget.groovy

    /**
     * A target for blocking. Exposes each named instant as a property, and accessing that property will block until the
     * instant has been reached.
     */
    class BlockTarget {
        private final Instants instants
    
        BlockTarget(Instants instants) {
            this.instants = instants
        }
    
        def getProperty(String name) {
            instants.waitFor(name)
            true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

                synchronizer.runNow(action2)
                instant.end
            }
    
            then:
            instant.action2Start > instant.action1End
            instant.end > instant.action2Start
        }
    
        def "cannot query instant that has not been defined in test thread"() {
            when:
            instant.unknown
    
            then:
            IllegalStateException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.31.md

    - Fixes a bug where hard evictions due to resource pressure would let the pod have the full termination grace period, instead of shutting down instantly. This bug also affected force deleted pods. Both cases now get a termination grace period of 1 second. ([#124063](https://github.com/kubernetes/kubernetes/pull/124063), [@olyazavr](https://github.com/olyazavr)) [SIG Node]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

                instant.willStop
                executor.stop()
                instant.stopped
            }
    
            then:
            instant.stopped > instant.completed1
            instant.stopped > instant.completed2
        }
    
        def factoryStopBlocksUntilAllScheduledRunningJobsAreCompleted() {
            given:
            def action1 = {
                instant.started1
                thread.blockUntil.willStop
                thread.block()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy

                vfs.invalidate(['/my/location/new/something'])
                instant.invalidated
            }
            then:
            instant.snapshottingStarted < instant.invalidated
            instant.invalidated < instant.snapshottingFinished
            !vfs.findSnapshot(location).present
        }
    
         def "only stores non-invalidated children when using store action"() {
            def location = '/my/location/new'
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestThread.groovy

    /**
     * Represents the current thread.
     */
    class TestThread {
        private final Instants instants
    
        TestThread(Instants instants) {
            this.instants = instants
        }
    
        void block() {
            Thread.sleep(750)
        }
    
        BlockTarget getBlockUntil() {
            return new BlockTarget(instants)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 971 bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/operations/MaxWorkersTest.groovy

                            spec.instant.child2Started
                            spec.thread.block()
                            spec.instant.child2Finished
                        }
                    })
                })
                outer.leaseFinish()
            }
    
            then:
            instant.child2Started > instant.child1Finished || instant.child1Started > instant.child2Finished
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CleanupFrequency.java

    import java.time.Duration;
    import java.time.Instant;
    
    /**
     * Represents when cache cleanup should be triggered.
     *
     * @since 8.0
     */
    public interface CleanupFrequency {
        /**
         * Trigger cleanup once every 24 hours.
         */
        CleanupFrequency DAILY = new CleanupFrequency() {
            @Override
            public boolean requiresCleanup(@Nullable Instant lastCleanupTime) {
                if (lastCleanupTime == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top