- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 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/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) -
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) -
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)