- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for startOperation (0.41 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java
synchronized (lock) { DefaultResourceLockState resourceLockState = new DefaultResourceLockState(); DefaultResourceLockState previous = startOperation(resourceLockState); try { while (true) { ResourceLockState.Disposition disposition; disposition = stateLockAction.transform(resourceLockState);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 17:16:10 UTC 2024 - 11.9K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/operation.go
shouldRollback bool dryRun bool } // Creates a portAllocationOperation, tracking a set of allocations & releases // If dryRun is specified, never actually allocate or release anything func StartOperation(pa Interface, dryRun bool) *PortAllocationOperation { op := &PortAllocationOperation{} op.pa = pa op.allocated = []int{} op.releaseDeferred = []int{} op.shouldRollback = true op.dryRun = dryRun return op
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
} return released, nil } func (al *Allocators) txnAllocNodePorts(service *api.Service, dryRun bool) (transaction, error) { // The allocator tracks dry-run-ness internally. nodePortOp := portallocator.StartOperation(al.serviceNodePorts, dryRun) txn := callbackTransaction{ commit: func() { nodePortOp.Commit() // We don't NEED to call Finish() here, but for that package says // to, so for future-safety, we will.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0)