1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.core.provisioning.java;
20
21 public class ExecutorProperties {
22
23 private int corePoolSize = 5;
24
25 private int maxPoolSize = 25;
26
27 private int queueCapacity = 100;
28
29 private int awaitTerminationSeconds = 5;
30
31 public int getCorePoolSize() {
32 return corePoolSize;
33 }
34
35 public void setCorePoolSize(final int corePoolSize) {
36 this.corePoolSize = corePoolSize;
37 }
38
39 public int getMaxPoolSize() {
40 return maxPoolSize;
41 }
42
43 public void setMaxPoolSize(final int maxPoolSize) {
44 this.maxPoolSize = maxPoolSize;
45 }
46
47 public int getQueueCapacity() {
48 return queueCapacity;
49 }
50
51 public void setQueueCapacity(final int queueCapacity) {
52 this.queueCapacity = queueCapacity;
53 }
54
55 public int getAwaitTerminationSeconds() {
56 return awaitTerminationSeconds;
57 }
58
59 public void setAwaitTerminationSeconds(final int awaitTerminationSeconds) {
60 this.awaitTerminationSeconds = awaitTerminationSeconds;
61 }
62 }