public interface ThreadExecutor
initialize()
method is required to be called before the first call to
execute(Thread). The Thread containing the work to be performed is
passed to execute and the work is scheduled by the underlying implementation.| Modifier and Type | Method and Description |
|---|---|
void |
execute(Thread thread)
Submit a task for execution
|
void |
initialize()
Initialize any state prior to calling
execute(Thread) |
void execute(Thread thread)
thread - the thread to executevoid initialize()
execute(Thread)Copyright 2001-2019, Terracotta, Inc.