Learning
Ctrlk
  • Software Engineering Golden Treasury
  • Trail Map
  • Caching
  • Career
  • Computer Science
  • devops
  • General Paradigms
  • Other
  • Hardware
  • Integration
  • Languages
    • C
    • Choosing A Language
    • cobol
    • Composite Data Types
    • creating
    • Date time
    • Numbers
    • Pass by value vs Pass by reference
    • Primitive Data Types
    • REST anti-patterns
    • Rust
    • Scripting
    • Static typing
    • string
    • Task Oriented Language
    • assembly
    • Getting started
    • cpp
    • Java
      • Code style
      • Garbage Collection
      • Intellij Debugging
      • Artifacts, Jars
      • Java internals
      • Java resources
      • Java versions
      • JShell
      • Libraries
      • opinionated-guide
      • Starting java
      • Java Tools
      • Why use java
      • Advanced Java
        • Annotations
        • API
        • Database and java
        • Debugging Performance
        • Files IO
        • Finalize
        • JDBC
        • jni
        • Libraries
        • Logging
        • SAP
        • Memory Management
        • Modules
        • OTher
        • Packaging Application
        • Pattern matching
        • performance
        • Properties
        • Reference
        • reflection
        • Scaling
        • Scheduling
        • secruity
        • Serilization
        • Time in Java
        • validation
        • Vector
        • Concurrency and Multithreaading
          • Akka
          • ExecutorCompletionService
          • Asynchronous Programming
          • Concurrency and Threads
          • CountDownLatch
          • Conccurrent Data Structures
          • Executor Service
          • Futures
          • reactive
          • Semaphore
          • structured concurrency
          • Threadlocal
          • Threads
          • Virtual Threads
          • Mutual Exclusion
        • debug
        • functional
        • networks
      • Basics of java
      • Effective Java notes
      • framework
      • Intermediate level java
    • kotlin
    • Nodejs
  • Management & Workflow
  • Networks
  • Operating Systems
  • Other Topics
  • persistance
  • Security
  • Testing, Maintainablity & Debugging
  • Version Control - Git
  • ai
Powered by GitBook
On this page

Was this helpful?

  1. Languages
  2. Java
  3. Advanced Java
  4. Concurrency and Multithreaading

ExecutorCompletionService

  • https://dotnetcodr.com/2017/09/16/getting-the-result-of-the-first-completed-parallel-task-in-java/

  • https://www.javacodemonk.com/use-executorcompletionservice-to-compute-results-from-5-different-datasources-in-parallel-28753553

  • https://stackoverflow.com/questions/58510690/what-is-a-way-to-get-the-first-finish-future-from-a-list-of-future-in-java

  • https://examples.javacodegeeks.com/core-java/util/concurrent/completionservice/java-completionservice-example/

take vs poll

  • https://stackoverflow.com/questions/23379623/java-blockingqueue-take-vs-poll

PreviousAkkaNextAsynchronous Programming

Last updated 5 years ago

Was this helpful?