- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SharedResource (0.2 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/SharedResource.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.resources; public interface SharedResource { /** * @return The maximum usage, or -1 when there is no limit. */ int getMaxUsages(); ResourceLock getResourceLock();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 834 bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/SharedResourceLeaseRegistry.java
sharedResources.put(name, new LeaseHolder(leases)); } public ResourceLock getResourceLock(final String sharedResource) { String displayName = "lease for " + sharedResource; return new DefaultLease(displayName, coordinationService, this, sharedResources.get(sharedResource)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/BuildServiceRegistryInternal.java
import org.gradle.api.services.BuildServiceRegistration; import org.gradle.api.services.BuildServiceRegistry; import org.gradle.internal.resources.ResourceLock; import org.gradle.internal.resources.SharedResource; import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; import javax.annotation.Nullable; import java.util.List; import java.util.Set;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java
return parameters; } @Override public Provider<T> getService() { return provider; } public SharedResource asSharedResource(Supplier<SharedResource> factory) { if (resourceWrapper == null) { resourceWrapper = factory.get(); } return resourceWrapper; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:45 UTC 2024 - 16.7K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)