Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for concurrence (0.65 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedValue.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.model;
    
    import org.gradle.internal.Try;
    
    import javax.annotation.concurrent.ThreadSafe;
    
    /**
     * Represents a calculated immutable value that is calculated once and then consumed by multiple threads.
     * <p>
     * This class can hold a null value.
     */
    @ThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java

    import com.google.common.base.Objects;
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import groovy.lang.GroovyObject;
    import org.gradle.api.GradleException;
    import org.gradle.api.Named;
    import org.gradle.api.reflect.ObjectInstantiationException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultValueSourceProviderFactory.java

    import org.gradle.internal.service.ServiceLookup;
    import org.gradle.process.ExecOperations;
    
    import javax.annotation.Nonnull;
    import javax.annotation.Nullable;
    import java.util.concurrent.atomic.AtomicReference;
    
    public class DefaultValueSourceProviderFactory implements ValueSourceProviderFactory {
    
        private final InstantiatorFactory instantiatorFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:25 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/ModelContainer.java

     */
    public interface ModelContainer<T> {
    
        /**
         * Runs the given function to calculate a value from the public mutable model. Applies best effort synchronization to prevent concurrent access to a particular project from multiple threads.
         * However, it is currently easy for state to leak from one project to another so this is not a strong guarantee.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleSourceDetector.java

    import org.gradle.model.RuleSource;
    
    import javax.annotation.concurrent.ThreadSafe;
    import java.lang.ref.Reference;
    import java.lang.ref.WeakReference;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.concurrent.ExecutionException;
    
    @ThreadSafe
    @ServiceScope(Scope.Global.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProvider.java

    import org.gradle.internal.Cast;
    import org.gradle.internal.UncheckedException;
    
    import javax.annotation.Nullable;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.util.concurrent.Callable;
    
    /**
     * A provider whose value is computed by a {@link Callable}.
     *
     * <h3>Configuration Cache Behavior</h3>
     * <b>Eager</b>. The value is computed at store time and loaded from the cache.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.io.PrintStream;
    import java.nio.file.Files;
    import java.time.LocalDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.Arrays;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.BiConsumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

    import com.google.common.collect.ImmutableList;
    import org.gradle.api.Action;
    import org.gradle.model.internal.core.ModelAction;
    import org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor;
    
    import javax.annotation.concurrent.NotThreadSafe;
    import java.util.Collection;
    import java.util.List;
    
    @NotThreadSafe
    public class RuleBinder {
    
        private final ModelBinding subjectBinding;
        private final ModelAction action;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedModelValue.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.model;
    
    import javax.annotation.Nullable;
    import javax.annotation.concurrent.ThreadSafe;
    import java.util.function.Function;
    
    /**
     * Represents a value that is calculated from some mutable state managed by a {@link ModelContainer}, where the calculated value may
     * be used by multiple threads.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/DeferredUtil.java

    import org.gradle.api.internal.provider.ProviderResolutionStrategy;
    import org.gradle.api.provider.Provider;
    import org.gradle.internal.Factory;
    
    import javax.annotation.Nullable;
    import java.util.concurrent.Callable;
    
    import static org.gradle.internal.UncheckedException.uncheckedCall;
    
    public class DeferredUtil {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top