Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for threadName (2.02 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/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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. 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)
  7. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        String THREAD_NAME = "ludicrous speed";
        int THREAD_PRIORITY = 1;
        boolean THREAD_DAEMON = false;
        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                Thread thread = new Thread(r);
                thread.setName(THREAD_NAME);
                thread.setPriority(THREAD_PRIORITY);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        String THREAD_NAME = "ludicrous speed";
        int THREAD_PRIORITY = 1;
        boolean THREAD_DAEMON = false;
        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                Thread thread = new Thread(r);
                thread.setName(THREAD_NAME);
                thread.setPriority(THREAD_PRIORITY);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. 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)
Back to top