René's URL Explorer Experiment


Title: Modern Process API | java.evolved

Open Graph Title: Modern Process API | java.evolved

X Title: Modern Process API | java.evolved

Description: Inspect and manage OS processes with ProcessHandle.

Open Graph Description: Inspect and manage OS processes with ProcessHandle.

X Description: Inspect and manage OS processes with ProcessHandle.

Opengraph URL: https://javaevolved.github.io/concurrency/process-api.html

direct link

Domain: javaevolved.github.io


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "TechArticle",
    "headline": "Modern Process API",
    "description": "Inspect and manage OS processes with ProcessHandle.",
    "url": "https://javaevolved.github.io/process-api.html",
    "publisher": {
        "@type": "Organization",
        "name": "java.evolved",
        "url": "https://javaevolved.github.io"
    },
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://javaevolved.github.io/process-api.html"
    }
}
  
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://javaevolved.github.io/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Concurrency",
            "item": "https://javaevolved.github.io/#concurrency"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Modern Process API"
        }
    ]
}
  

theme-color#f97316
mobile-web-app-capableyes
apple-mobile-web-app-status-bar-styleblack-translucent
apple-mobile-web-app-titlejava.evolved
og:typearticle
og:site_namejava.evolved
og:localeen
og:imagehttps://javaevolved.github.io/og/concurrency/process-api.png
og:image:width1200
og:image:height630
og:image:typeimage/png
twitter:cardsummary_large_image
twitter:imagehttps://javaevolved.github.io/og/concurrency/process-api.png

Links:

java.evolvedhttps://javaevolved.github.io/
https://github.com/javaevolved/javaevolved.github.io
← All patternshttps://javaevolved.github.io/
https://javaevolved.github.io/concurrency/thread-sleep-duration.html
https://javaevolved.github.io/concurrency/concurrent-http-virtual.html
Homehttps://javaevolved.github.io/
Concurrencyhttps://javaevolved.github.io/#concurrency
🐛 Report a code issuehttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=code-issue.yml&title=%5BCode%20Issue%5D%20Modern%20Process%20API&category=concurrency&slug=process-api
🌐 Report a translation issuehttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=translation-issue.yml&title=%5BTranslation%5D%20Modern%20Process%20API%20%28English%29&locale=en&pattern=process-api&area=Pattern%20content
💡 Suggest a new patternhttps://github.com/javaevolved/javaevolved.github.io/issues/new?template=new-pattern.yml
𝕏https://x.com/intent/tweet?url=https%3A%2F%2Fjavaevolved.github.io%2Fconcurrency%2Fprocess-api.html&text=Modern%20Process%20API%20%E2%80%93%20java.evolved
🦋https://bsky.app/intent/compose?text=Modern%20Process%20API%20%E2%80%93%20java.evolved%20https%3A%2F%2Fjavaevolved.github.io%2Fconcurrency%2Fprocess-api.html
inhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fjavaevolved.github.io%2Fconcurrency%2Fprocess-api.html
https://www.reddit.com/submit?url=https%3A%2F%2Fjavaevolved.github.io%2Fconcurrency%2Fprocess-api.html&title=Modern%20Process%20API%20%E2%80%93%20java.evolved
Let us know.https://github.com/javaevolved/javaevolved.github.io/issues/new?template=code-issue.yml&title=%5BCode%20Issue%5D%20Modern%20Process%20API&category=concurrency&slug=process-api
ProcessHandle ↗https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ProcessHandle.html
Process API (JEP 102) ↗https://openjdk.org/jeps/102
View proof source ↗https://github.com/javaevolved/javaevolved.github.io/blob/main/proof/concurrency/ProcessApi.java
Concurrency Advanced Scoped values Java 8 static final ThreadLocal CURRENT = new ThreadLocal<>(); void handle(Request req) { CURRENT.set(authenticate(req)); try { process(); } finally { CURRENT.remove(); } } Java 25 static final ScopedValue CURRENT = ScopedValue.newInstance(); void handle(Request req) { ScopedValue.where(CURRENT, authenticate(req) ).run(this::process); } Hover to see modern ➜ JDK 25+ → https://javaevolved.github.io/concurrency/scoped-values.html
Concurrency Intermediate Concurrent HTTP with virtual threads Java 8 ExecutorService pool = Executors.newFixedThreadPool(10); List> futures = urls.stream() .map(u -> pool.submit( () -> fetchUrl(u))) .toList(); // manual shutdown, blocking get() Java 21+ try (var exec = Executors .newVirtualThreadPerTaskExecutor()) { var results = urls.stream() .map(u -> exec.submit( () -> client.send(req(u), ofString()).body())) .toList().stream() .map(Future::join).toList(); } Hover to see modern ➜ JDK 21+ → https://javaevolved.github.io/concurrency/concurrent-http-virtual.html
Concurrency Intermediate CompletableFuture chaining Pre-Java 8 Future future = executor.submit(this::fetchData); String data = future.get(); // blocks String result = transform(data); Java 8+ CompletableFuture.supplyAsync( this::fetchData ) .thenApply(this::transform) .thenAccept(IO::println); Hover to see modern ➜ JDK 8+ → https://javaevolved.github.io/concurrency/completablefuture-chaining.html
java.evolvedhttps://javaevolved.github.io/
Bruno Borgeshttps://github.com/brunoborges
GitHub Copilothttps://github.com/features/copilot
modern-css.comhttps://modern-css.com
View on GitHubhttps://github.com/javaevolved/javaevolved.github.io

Viewport: width=device-width, initial-scale=1.0

Robots: index, follow


URLs of crawlers that visited me.