Class Async

java.lang.Object
org.jivesoftware.smack.util.Async

public class Async extends Object
  • Constructor Details

  • Method Details

    • go

      public static Thread go(Runnable runnable)
      Creates a new thread with the given Runnable, marks it daemon, starts it and returns the started thread.
      Parameters:
      runnable - TODO javadoc me please
      Returns:
      the started thread.
    • go

      public static Thread go(Runnable runnable, String threadName)
      Creates a new thread with the given Runnable, marks it daemon, sets the name, starts it and returns the started thread.
      Parameters:
      runnable - TODO javadoc me please
      threadName - the thread name.
      Returns:
      the started thread.
    • daemonThreadFrom

      public static Thread daemonThreadFrom(Runnable runnable)