Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AtomicBoolean (0.08 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

     * well. Any subsequent {@code getXXX} method invocation attempt will fail with {@link IllegalStateException}.
     */
    public class RepositorySystemSupplier implements Supplier<RepositorySystem> {
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public RepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public class MavenRepositorySystemSupplier implements Supplier<RepositorySystem> {
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public MavenRepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top