1 | void setScheduler(boolean Scheduler) {↵ | | 1 | void setPerThread(boolean perThread) {↵
|
2 | setProperty(new BooleanProperty(SCHEDULER, Scheduler));↵ | | 2 | setProperty(new BooleanProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * Get the Scheduler value.↵ | | |
|
6 | * ↵ | | |
|
7 | * @return the Scheduler value.↵ | | |
|
8 | */↵ | | 3 | PERTHREAD, perThread));↵
|
| | | 4 | }↵
|
|
9 | public boolean getScheduler() {↵ | | 5 | public boolean isPerThread() {↵
|
10 | return getPropertyAsBoolean(SCHEDULER);↵ | | 6 | return getPropertyAsBoolean(PERTHREAD);↵
|
11 | }↵ | | 7 | }↵
|
|
12 | /**↵ | | 8 | ↵
|
13 | * Set the StartTime value.↵ | | |
|
14 | * ↵ | | |
|
15 | * @param stime -↵ | | |
|
16 | * the StartTime value.↵ | | |
|
17 | */↵ | | |
|
18 | public void setStartTime(long stime) {↵ | | 9 | public void setMaxThroughput(int maxThroughput) {↵
|
19 | setProperty(new LongProperty(START_TIME, stime));↵ | | 10 | setProperty(new IntegerProperty(MAXTHROUGHPUT, maxThroughput));↵
|
20 | } | | 11 | }
|