Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. api/maven-api-meta/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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. api/maven-api-meta/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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * under the License.
     */
    package org.apache.maven.api.plugin;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.ThreadSafe;
    
    /**
     * This interface forms the contract required for Mojos to interact with the Maven infrastructure.
     * It features an {@link #execute()} method, which triggers the Mojo's build-process behavior,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Aug 26 13:14:03 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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
    @ThreadSafe
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/PrintingRunListener.java

     */
    package jcifs.tests;
    
    
    import org.junit.runner.Description;
    import org.junit.runner.notification.RunListener;
    import org.junit.runner.notification.RunListener.ThreadSafe;;
    
    
    /**
     * @author mbechler
     *
     */
    @ThreadSafe
    public class PrintingRunListener extends RunListener {
    
        @Override
        public void testStarted ( Description description ) throws Exception {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  8. api/maven-api-meta/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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

    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.
     *
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    @Immutable
    public interface XmlNode {
    
        String CHILDREN_COMBINATION_MODE_ATTRIBUTE = "combine.children";
    
        String CHILDREN_COMBINATION_MERGE = "merge";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top