- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for UpdateAction (1.21 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileIntegrityViolationSuppressingObjectHolderDecorator.java
} @Override public T update(final UpdateAction<T> updateAction) { return doUpdate(updateAction, () -> delegate.update(updateAction)); } @Override public T maybeUpdate(final UpdateAction<T> updateAction) { return doUpdate(updateAction, () -> delegate.maybeUpdate(updateAction)); } private T doUpdate(UpdateAction<T> updateAction, Supplier<T> work) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ObjectHolder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultCompilationStateCacheFactory.java
} @Override public CompilationState update(UpdateAction<CompilationState> updateAction) { throw new UnsupportedOperationException(); } @Override public CompilationState maybeUpdate(UpdateAction<CompilationState> updateAction) { throw new UnsupportedOperationException(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 3.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/scopeids/PersistentScopeIdLoaderTest.groovy
and: 1 * storeFactory.create(storeFile, _) >> store and: 1 * store.maybeUpdate(_) >> { ObjectHolder.UpdateAction action -> action.update(null) } and: idFactory.create() >> newId and: id == newId }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 18:14:29 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java
@Override public void remove(final Address address) { lock.lock(); try { LOGGER.debug("Removing daemon address: {}", address); cache.update(new ObjectHolder.UpdateAction<DaemonRegistryContent>() { @Override public DaemonRegistryContent update(DaemonRegistryContent oldValue) { if (oldValue == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_status_updater_test.go
fakeClient := &fake.Clientset{} updater := NewRealStatefulSetStatusUpdater(fakeClient, nil) fakeClient.AddReactor("update", "statefulsets", func(action core.Action) (bool, runtime.Object, error) { update := action.(core.UpdateAction) return true, update.GetObject(), nil }) if err := updater.UpdateStatefulSetStatus(context.TODO(), set, &status); err != nil { t.Errorf("Error returned on successful status update: %s", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 13 15:37:10 UTC 2022 - 5.9K bytes - Viewed (0) -
pkg/controller/clusterroleaggregation/clusterroleaggregation_controller_test.go
t.Fatalf("unexpected action %#v", action) } updateAction, ok := action.(clienttesting.UpdateAction) if !ok { t.Fatalf("unexpected action %#v", action) } if !equality.Semantic.DeepEqual(updateAction.GetObject().(*rbacv1.ClusterRole), test.expectedClusterRole) { t.Fatalf("%v", cmp.Diff(test.expectedClusterRole, updateAction.GetObject().(*rbacv1.ClusterRole))) } } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 9K bytes - Viewed (0) -
pkg/controlplane/reconcilers/helpers_test.go
errors := []error{} updates := []k8stesting.UpdateAction{} creates := []k8stesting.CreateAction{} for _, action := range fakeClient.Actions() { if action.GetVerb() == "update" { updates = append(updates, action.(k8stesting.UpdateAction)) } else if action.GetVerb() == "create" { creates = append(creates, action.(k8stesting.CreateAction)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 27 12:46:23 UTC 2022 - 4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FileBackedObjectHolderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 5K bytes - Viewed (0)