Threads

kyo.scheduler.util.Threads
object Threads

Thread factory for creating consistently named daemon threads.

Creates daemon threads with auto-incrementing IDs prefixed by the given name. Optionally accepts a custom thread creation function while maintaining naming.

Value parameters

create

Optional custom thread creation function

name

Base name for created threads

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Threads.type

Members list

Value members

Concrete methods

def apply(name: String): ThreadFactory
def apply(name: String, create: Runnable => Thread): ThreadFactory