Class ForkJoinPoolHelper


  • public class ForkJoinPoolHelper
    extends java.lang.Object
    Provides helpers for working with ForkJoinPool.
    • Constructor Detail

      • ForkJoinPoolHelper

        public ForkJoinPoolHelper()
    • Method Detail

      • safeManagedBlock

        public static void safeManagedBlock​(ForkJoinPool.ManagedBlocker blocker)
                                     throws java.lang.InterruptedException
        Does managed blocking on ForkJoinPool. This helper is guaranteed to block even when ForkJoinPool is running on full capacity.
        Parameters:
        blocker - managed blocker resource
        Throws:
        java.lang.InterruptedException