Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for janitor (0.16 sec)

  1. test/typeparam/issue50109.go

    // Item ...
    type Item[T any] struct {
    	Object T
    }
    
    // AnyCache implements AnyCacher
    type AnyCache[T any] struct {
    	*anyCache[T]
    }
    
    type anyCache[T any] struct {
    	items   map[string]Item[T]
    	janitor *janitor[T] // Needed for the failure in the issue
    }
    
    // Set adds an item to the cache, replacing any existing item.
    func (c *anyCache[T]) Set(k string, x T) {
    	c.items[k] = Item[T]{
    		Object: x,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/monitor/monitor.go

    )
    
    // Monitor records some metrics so that people can monitor HPA controller.
    type Monitor interface {
    	ObserveReconciliationResult(action ActionLabel, err ErrorLabel, duration time.Duration)
    	ObserveMetricComputationResult(action ActionLabel, err ErrorLabel, duration time.Duration, metricType v2.MetricSourceType)
    }
    
    type monitor struct{}
    
    func New() Monitor {
    	return &monitor{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pilot/pkg/config/memory/monitor.go

    	sync bool
    }
    
    // NewMonitor returns new Monitor implementation with a default event buffer size.
    func NewMonitor(store model.ConfigStore) Monitor {
    	return newBufferedMonitor(store, BufferSize, false)
    }
    
    // NewMonitor returns new Monitor implementation which will process events synchronously
    func NewSyncMonitor(store model.ConfigStore) Monitor {
    	return newBufferedMonitor(store, BufferSize, true)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. pilot/pkg/config/monitor/monitor.go

    }
    
    var log = istiolog.RegisterScope("monitor", "file configuration monitor")
    
    // NewMonitor creates a Monitor and will delegate to a passed in controller.
    // The controller holds a reference to the actual store.
    // Any func that returns a []*model.Config can be used with the Monitor
    func NewMonitor(name string, delegateStore model.ConfigStore, getSnapshotFunc func() ([]*config.Config, error), root string) *Monitor {
    	monitor := &Monitor{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor.go

    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    	mlock sync.RWMutex // mutex for bucket measurement
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	// every extra conditional branch creates a risk that the
    	// recursively executed child program will behave not like the
    	// monitor but like the application. If the child process
    	// exits before calling Start, then the parent application
    	// will not have a monitor, and its crash reports will be
    	// discarded (written in to a pipe that is never read).
    	//
    	// So for now, we use this constant string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. cluster/gce/gci/health-monitor.sh

      # killing the container runtime.
      until timeout 60 "${healthcheck_command[@]}" > /dev/null; do
        if (( attempt == max_attempts )); then
          echo "Max attempt ${max_attempts} reached! Proceeding to monitor container runtime healthiness."
          break
        fi
        echo "$attempt initial attempt \"${healthcheck_command[*]}\"! Trying again in $attempt seconds..."
        sleep "$(( 2 ** attempt++ ))"
      done
      while true; do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 20 09:19:08 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. cluster/images/etcd-version-monitor/etcd-version-monitor.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: etcd-version-monitor
      namespace: kube-system
    spec:
      hostNetwork: true
      containers:
      - name: etcd-version-monitor
        image: registry.k8s.io/etcd-version-monitor:0.1.3
        command:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 255 bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

                println("CACHE_MISS in task $taskPath")
                cacheMiss.set(true)
            }
        }
    }
    
    
    /**
     *  We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS".
     */
    fun isCacheMissMonitoredTask(task: Task) = task.isCompileCacheMissMonitoredTask() || task.project.isAsciidoctorCacheMissTask()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 05:49:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

          this.satisfied = satisfied;
        }
      }
    
      private final boolean interruptible;
      private Monitor monitor;
      private final TearDownStack tearDownStack = new TearDownStack(true);
      private TestThread<Monitor> thread1;
      private TestThread<Monitor> thread2;
    
      protected MonitorTestCase(boolean interruptible) {
        this.interruptible = interruptible;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top