python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to edit method after sent request
I want to get four values from a website but need to edit parameter every step. I thought I can do it with executors but I couldn't. So, how can I edit parameter in every CompletableFuture before send...
hirtevurte
Votes: 0
Answers: 2
How to call same function in parallel with executor service in JAVA?
I am new to concurrency and threading in java and I have this following scenario -
Function1(fetches next task from a queue and calls function2 with task) then
Function2(calls Function Run to run thi...
TheOnlyKiller
Votes: 0
Answers: 1
Behaviour of Threads during blocking IO in Java ForkJoinPool
If the Thread inside the ForkJoinPool does a blocking I/O activity ( simulated below in code using Thread.sleep(10000)) , it should pick up another task which is not causing blocking IO.
However, runn...
Sunny Bhan
Votes: 0
Answers: 3
How to run Executor Service on a list and perform some action in Java
I have a list of items which I want to run an executor service to perform some expensive action:
var myList = Arrays.asList("item1", "item2");
var es = Executors.newFixedThreadPool...
invincibles04
Votes: 0
Answers: 1