Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for threadSafe (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.annotations.ThreadSafe;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * The proto session, material used to create {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    public interface ProtoSession {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * @since 3.0-beta-2
         */
        public boolean isThreadSafe() {
            return threadSafe;
        }
    
        /**
         * @param threadSafe indicates that the mojo is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public void setThreadSafe(boolean threadSafe) {
            this.threadSafe = threadSafe;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                mojo.setInheritedByDefault(Boolean.parseBoolean(inheritedByDefault));
            }
    
            String threadSafe = c.getChild("threadSafe").getValue();
    
            if (threadSafe != null) {
                mojo.setThreadSafe(Boolean.parseBoolean(threadSafe));
            }
    
            // ----------------------------------------------------------------------
            // Configuration
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

                result.add(executionPlanItem.getMojoExecution());
            }
            return result;
        }
    
        /**
         * Get set of plugins having a goal/mojo used but not marked @threadSafe
         *
         * @return the set of plugins (without info on which goal is concerned)
         */
        public Set<Plugin> getNonThreadSafePlugins() {
            Set<Plugin> plugins = new HashSet<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        public static MojoDescriptor createMojoDescriptor(String phaseName) {
            return createMojoDescriptor(phaseName, false);
        }
    
        public static MojoDescriptor createMojoDescriptor(String phaseName, boolean threadSafe) {
            final MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPhase(phaseName);
            final PluginDescriptor descriptor = new PluginDescriptor();
            Plugin plugin = new Plugin();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap is serializable if {@code map}, {@code factory}, the collections generated by
       * {@code factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayListMultimap.java

     * views are modifiable.
     *
     * <p>The lists returned by {@link #get}, {@link #removeAll}, and {@link #replaceValues} all
     * implement {@link java.util.RandomAccess}.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedListMultimap}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * An immutable XML node representation that provides a clean API for working with XML data structures.
     * This interface represents a single node in an XML document tree, containing information about
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Collections2.java

       * called on the filtered collection, only elements that satisfy the filter will be removed from
       * the underlying collection.
       *
       * <p>The returned collection isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered collection's methods, such as {@code size()}, iterate across every
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top