Class ThreadServiceFinder


  • public final class ThreadServiceFinder
    extends Object
    This class permits to centralize the identify of the thread service providers.
    Version:
    17.0 2020-01-04 14:41:35
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    vmutils
    • Method Detail

      • getProvider

        @Pure
        public static ThreadServiceProvider getProvider()
        Replies the current service provider.
        Returns:
        the thread service provider or null
      • addPreferredProvider

        public static void addPreferredProvider​(ThreadServiceProvider provider)
        Add a preferred provider.
        Parameters:
        provider - is the preferred thread service provider
      • removeProvider

        public static void removeProvider()
        Remove a provider.