1 package org.apache.stratum.scheduler;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 /***
21 * This bean represents the settings used to assign thread pool properties for use in the Quartz scheduler.
22 *
23 * @author <a href="mailto:john@zenplex.com">John Thorhauer</a>
24 * @version $Id: ThreadPoolConfig.java 264191 2005-08-29 18:07:52Z henning $
25 */
26 public class ThreadPoolConfig
27 {
28 /*** The loggername used by the Quartz threadpool */
29 private String loggerName;
30
31 /*** The classname used by the Quartz threadpool */
32 private String className;
33
34 /*** The threadcount used by the Quartz threadpool */
35 private String threadCount;
36
37 /*** The thread priority used by the Quartz threadpool */
38 private String threadPriority;
39
40 /***
41 * Default contructor
42 */
43 public ThreadPoolConfig()
44 {
45 }
46
47 /***
48 * This is the reference name of the logger that has been registered with Quartz that will be used by the Quartz threadpool.
49 *
50 * @param s logger name
51 */
52 public void setLoggerName(String s)
53 {
54 this.loggerName = s;
55 }
56
57 /***
58 * DOCUMENT ME!
59 *
60 * @return the name of the logger for the threadpool
61 */
62 public String getLoggerName()
63 {
64 return this.loggerName;
65 }
66
67 /***
68 * This is the full package/class name of the class used for the Quartz threadpool.
69 *
70 * @param s the full package/class name used for the threadpool
71 */
72 public void setClassName(String s)
73 {
74 this.className = s;
75 }
76
77 /***
78 * DOCUMENT ME!
79 *
80 * @return the full package/class name used for the threadpool
81 */
82 public String getClassName()
83 {
84 return this.className;
85 }
86
87 /***
88 * This is the thread count used for the Quartz threadpool.
89 *
90 * @param s the thread count used for the Quartz threadpool.
91 */
92 public void setThreadCount(String s)
93 {
94 this.threadCount = s;
95 }
96
97 /***
98 * DOCUMENT ME!
99 *
100 * @return the thread count used for the Quartz threadpool.
101 */
102 public String getThreadCount()
103 {
104 return this.threadCount;
105 }
106
107 /***
108 * This is the thread priority used for the Quartz threadpool.
109 *
110 * @param s the thread priority for the Quartz threadpool.
111 */
112 public void setThreadPriority(String s)
113 {
114 this.threadPriority = s;
115 }
116
117 /***
118 * DOCUMENT ME!
119 *
120 * @return the thread priority used for the Quartz threadpool.
121 */
122 public String getThreadPriority()
123 {
124 return this.threadPriority;
125 }
126 }