Class SpotifyApiThreading


  • public class SpotifyApiThreading
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.concurrent.ExecutorService THREADPOOL  
    • Method Summary

      Modifier and Type Method Description
      static <T> java.util.concurrent.CompletableFuture<T> executeAsync​(java.util.concurrent.Callable<T> callable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • THREADPOOL

        public static final java.util.concurrent.ExecutorService THREADPOOL
    • Constructor Detail

      • SpotifyApiThreading

        public SpotifyApiThreading()
    • Method Detail

      • executeAsync

        public static <T> java.util.concurrent.CompletableFuture<T> executeAsync​(java.util.concurrent.Callable<T> callable)