- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for threadSafe (0.05 sec)
-
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/ThreadSafe.java
import java.lang.annotation.Target; /** * The {@code ThreadSafe} annotation can be used to indicate a given type * is thread safe. {@link Immutable} objects are automatically thread safe. * * @see Immutable * @see NotThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.4K bytes - Viewed (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Immutable.java
* none of its field can be changed. This also ensures that the type is * {@link ThreadSafe}. * * @see ThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @ThreadSafe @Target(ElementType.TYPE)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.4K bytes - Viewed (0) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Service.java
import org.apache.maven.api.annotations.ThreadSafe; /** * Marker interface for all services provided by the {@link Session}. * <p> * Services can be retrieved from the session using the * {@link Session#getService(Class)} method. * * @since 4.0.0 * @see Session#getService(Class) */ @Experimental @ThreadSafeRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.2K bytes - Viewed (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/NotThreadSafe.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation indicates that the annotated type is <strong>not</strong> threadsafe * and should only be used by a single thread. * * @see ThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/resources/plugin.xml
<role-hint>jar</role-hint> <field-name>jarArchiver</field-name> </requirement> </requirements> </mojo> <mojo> <goal>war</goal> <threadSafe>true</threadSafe> </mojo> </mojos> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <type>jar</type> <version>2.0.6</version>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
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) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.plugin; import org.apache.maven.api.annotations.ThreadSafe; import org.apache.maven.plugin.logging.Log; /** * This interface forms the contract required for <code>Mojos</code> to interact with the <code>Maven</code> * infrastructure.<br>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java
msgs.add("* Your build is requesting parallel execution, but project *"); msgs.add("* contains the following plugin(s) that have goals not marked *"); msgs.add("* as @threadSafe to support parallel building. *"); msgs.add("* While this /may/ work fine, please look for plugin updates *"); msgs.add("* and/or request plugins be made thread-safe. *");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
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)