public class ThreadSleepComponent extends Object implements ComponentInterface
Constructor and Description |
---|
ThreadSleepComponent() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Context context)
组件执行方法
|
long |
getSleepTime() |
Integer |
getTimeUnit() |
void |
setSleepTime(long sleepTime) |
void |
setTimeUnit(Integer timeUnit) |
public void execute(Context context)
ComponentInterface
execute
in interface ComponentInterface
context
- 组件执行的环境public long getSleepTime()
public void setSleepTime(long sleepTime)
public Integer getTimeUnit()
public void setTimeUnit(Integer timeUnit)
Copyright © 2006–2018 TinyGroup. All rights reserved.