- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for JavaSystemPropertiesAsyncIOScopeSettings (7.29 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/JavaSystemPropertiesAsyncIOScopeSettingsTest.kt
* limitations under the License. */ package org.gradle.kotlin.dsl.concurrent import org.gradle.kotlin.dsl.concurrent.JavaSystemPropertiesAsyncIOScopeSettings.Companion.DEFAULT_IO_ACTION_TIMEOUT import org.gradle.kotlin.dsl.concurrent.JavaSystemPropertiesAsyncIOScopeSettings.Companion.IO_ACTION_TIMEOUT_SYSTEM_PROPERTY import org.gradle.util.SetSystemProperties import org.junit.Assert.assertEquals import org.junit.Assert.fail
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt
DefaultAsyncIOScopeFactory { executorFactory.create("Kotlin DSL Writer", 1) } } internal interface AsyncIOScopeSettings { val ioActionTimeoutMs: Long } internal class JavaSystemPropertiesAsyncIOScopeSettings : AsyncIOScopeSettings { companion object { const val IO_ACTION_TIMEOUT_SYSTEM_PROPERTY = "org.gradle.kotlin.dsl.internal.io.timeout"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/DefaultAsyncIOScopeFactoryTest.kt
private fun exceptionOrNullFrom(action: () -> Unit) = runCatching(action).exceptionOrNull() private fun withAsyncIOScopeFactory( settings: AsyncIOScopeSettings = JavaSystemPropertiesAsyncIOScopeSettings(), action: DefaultAsyncIOScopeFactory.() -> Unit ) { DefaultAsyncIOScopeFactory(settings) { Executors.newSingleThreadExecutor() }.useToRun(action) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.7K bytes - Viewed (0)