- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for GetRegistry (0.23 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryServices.java
} @Provides DaemonRegistry createDaemonRegistry(DaemonDir daemonDir, final FileLockManager fileLockManager, final Chmod chmod) { final File daemonRegistryFile = daemonDir.getRegistry(); return daemonRegistryCache.get(daemonRegistryFile, () -> new PersistentDaemonRegistry(daemonRegistryFile, fileLockManager, chmod)); } @Provides Properties createProperties() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategyTest.groovy
DaemonDir daemonDir = new DaemonDir(daemonDir) DaemonRegistry registry = new EmbeddedDaemonRegistry() daemonDir.getRegistry().createNewFile() registry.store(new DaemonInfo(address, daemonContext, "password".bytes, Idle)) when: 1 * daemon.getDaemonContext() >> { daemonContext }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy
} static DaemonsFixture newAnalyzer(File daemonBaseDir, String version = GradleVersion.current().version) { return new DaemonLogsAnalyzer(daemonBaseDir, version) } DaemonRegistry getRegistry() { return registry } void killAll() { allDaemons*.kill() } List<DaemonFixture> getDaemons() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileTaskOperationResultIntegTest.groovy
} } abstract class JavaCompileModifyingPlugin implements Plugin<Project> { @Inject abstract BuildEventsListenerRegistry getRegistry(); void apply(Project project) { def listener = project.gradle.sharedServices.registerIfAbsent("listener", JavaCompileListener) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/crossVersionTest/groovy/org/gradle/api/internal/tasks/compile/tooling/JavaCompileTaskOperationResultCrossVersionTest.groovy
} } abstract class SomePlugin implements Plugin<Settings> { @Inject abstract BuildEventsListenerRegistry getRegistry(); void apply(Settings settings) { def service = settings.gradle.sharedServices.registerIfAbsent("listener", ListenerImpl) { } registry.onTaskCompletion(service)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/AbstractAnnotationModelRuleExtractorTest.groovy
where: annotationName << [annotation.getSimpleName()] } void apply(ExtractedModelRule rule, ModelRegistry registry) { def context = Stub(MethodModelRuleApplicationContext) { getRegistry() >> registry contextualize(_) >> { MethodRuleAction action -> Stub(ModelAction) { getSubject() >> action.subject getInputs() >> action.inputs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/AbstractModelCreationRuleExtractor.java
buildRegistration(context, registration); registration.hidden(hidden); context.getRegistry().register(registration.build()); } @Override public List<Class<?>> getRuleDependencies() { return Collections.emptyList(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/test/groovy/org/gradle/model/dsl/internal/NonTransformedModelDslBackingTest.groovy
import org.gradle.model.internal.type.ModelType class NonTransformedModelDslBackingTest extends ProjectRegistrySpec { def modelDsl def setup() { modelDsl = new NonTransformedModelDslBacking(getRegistry()) } void register(String pathString, Object element) { registry.register(ModelRegistrations.bridgedInstance(ModelReference.of(pathString, element.class), element).descriptor("register").build()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/ExternalDependencyInstrumentingArtifactTransform.java
protected InterceptorTypeRegistryAndFilter provideInterceptorTypeRegistryAndFilter() { return new InterceptorTypeRegistryAndFilter() { @Override public InstrumentationTypeRegistry getRegistry() { return PropertiesBackedInstrumentationTypeRegistry.of(() -> { File analysisFile = getInput().get().getAsFile();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 15:08:33 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategy.java
try { final DaemonContext daemonContext = daemon.getDaemonContext(); final File daemonRegistryDir = daemonContext.getDaemonRegistryDir(); if (!new DaemonDir(daemonRegistryDir).getRegistry().canRead()) { LOG.warn("Daemon registry {} became unreadable. Expiring daemon.", daemonRegistryDir); return new DaemonExpirationResult(GRACEFUL_EXPIRE, REGISTRY_BECAME_UNREADABLE);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0)