Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 487 for acquirem (0.23 sec)

  1. cmd/lock-rest-server.go

    }
    
    // LockHandler - Acquires a lock.
    func (l *lockRESTServer) LockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCLock.NewResponse()
    	success, err := l.ll.Lock(context.Background(), *args)
    	if err == nil && !success {
    		return l.makeResp(resp, errLockConflict)
    	}
    	return l.makeResp(resp, err)
    }
    
    // UnlockHandler - releases the acquired lock.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/start.go

    		StartTime: asof,
    	}); err != nil {
    		log.Printf("upload failed: %v", err)
    	}
    }
    
    // acquireUploadToken acquires a token permitting the caller to upload.
    // To limit the frequency of uploads, only one token is issue per
    // machine per time period.
    // The boolean indicates whether the token was acquired.
    func acquireUploadToken() bool {
    	if telemetry.Default.LocalDir() == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/runtime/mcache.go

    	// flushGen indicates the sweepgen during which this mcache
    	// was last flushed. If flushGen != mheap_.sweepgen, the spans
    	// in this mcache are stale and need to the flushed so they
    	// can be swept. This is done in acquirep.
    	flushGen atomic.Uint32
    }
    
    // A gclink is a node in a linked list of blocks, like mlink,
    // but it is opaque to the garbage collector.
    // The GC does not trace the pointers during collection,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    		return false
    	}
    
    	le.setObservedRecord(&leaderElectionRecord)
    	return true
    }
    
    // tryAcquireOrRenew tries to acquire a leader lease if it is not already acquired,
    // else it tries to renew the lease if it has already been acquired. Returns true
    // on success else returns false.
    func (le *LeaderElector) tryAcquireOrRenew(ctx context.Context) bool {
    	now := metav1.Now()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. pkg/apis/coordination/types.go

    	// +optional
    	HolderIdentity *string
    	// leaseDurationSeconds is a duration that candidates for a lease need
    	// to wait to force acquire it. This is measure against time of last
    	// observed renewTime.
    	// +optional
    	LeaseDurationSeconds *int32
    	// acquireTime is a time when the current lease was acquired.
    	// +optional
    	AcquireTime *metav1.MicroTime
    	// renewTime is a time when the current holder of a lease has last
    	// updated the lease.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/coordination/v1beta1/types_swagger_doc_generated.go

    	"leaseDurationSeconds": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.",
    	"acquireTime":          "acquireTime is a time when the current lease was acquired.",
    	"renewTime":            "renewTime is a time when the current holder of a lease has last updated the lease.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/coordination/v1beta1/generated.proto

      // leaseDurationSeconds is a duration that candidates for a lease need
      // to wait to force acquire it. This is measure against time of last
      // observed renewTime.
      // +optional
      optional int32 leaseDurationSeconds = 2;
    
      // acquireTime is a time when the current lease was acquired.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime acquireTime = 3;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/coordination/v1beta1/generated.proto

      // leaseDurationSeconds is a duration that candidates for a lease need
      // to wait to force acquire it. This is measure against time of last
      // observed renewTime.
      // +optional
      optional int32 leaseDurationSeconds = 2;
    
      // acquireTime is a time when the current lease was acquired.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime acquireTime = 3;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/sync/rwmutex.go

    	// Wait for active readers.
    	if r != 0 && rw.readerWait.Add(r) != 0 {
    		runtime_SemacquireRWMutex(&rw.writerSem, false, 0)
    	}
    	if race.Enabled {
    		race.Enable()
    		race.Acquire(unsafe.Pointer(&rw.readerSem))
    		race.Acquire(unsafe.Pointer(&rw.writerSem))
    	}
    }
    
    // TryLock tries to lock rw for writing and reports whether it succeeded.
    //
    // Note that while correct uses of TryLock do exist, they are rare,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/coordination/v1beta1/types.go

    	// leaseDurationSeconds is a duration that candidates for a lease need
    	// to wait to force acquire it. This is measure against time of last
    	// observed renewTime.
    	// +optional
    	LeaseDurationSeconds *int32 `json:"leaseDurationSeconds,omitempty" protobuf:"varint,2,opt,name=leaseDurationSeconds"`
    	// acquireTime is a time when the current lease was acquired.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 16:45:58 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top