@@ -24,6 +24,7 @@ public class TcpOptions extends ConfigElement {
24
24
private String addressExcludeList ;
25
25
private String hostNameIncludeList ;
26
26
private String hostNameExcludeList ;
27
+ private String inactivityTimeout ;
27
28
private Integer maxOpenConnections ;
28
29
29
30
public Boolean isSoReuseAddr () {
@@ -46,6 +47,10 @@ public String getHostNameExcludeList() {
46
47
return hostNameExcludeList ;
47
48
}
48
49
50
+ public String getInactivityTimeout () {
51
+ return inactivityTimeout ;
52
+ }
53
+
49
54
public Integer getMaxOpenConnections () {
50
55
return maxOpenConnections ;
51
56
}
@@ -75,6 +80,11 @@ public void setHostNameExcludeList(String hostNameExcludeList) {
75
80
this .hostNameExcludeList = hostNameExcludeList ;
76
81
}
77
82
83
+ @ XmlAttribute
84
+ public void setInactivityTimeout (String inactivityTimeout ) {
85
+ this .inactivityTimeout = inactivityTimeout ;
86
+ }
87
+
78
88
@ XmlAttribute
79
89
public void setMaxOpenConnections (Integer maxOpenConnections ) {
80
90
this .maxOpenConnections = maxOpenConnections ;
@@ -95,6 +105,8 @@ public String toString() {
95
105
buf .append ("hostNameIncludeList=\" " + hostNameIncludeList + "\" " );
96
106
if (getHostNameExcludeList () != null )
97
107
buf .append ("hostNameExcludeList=\" " + hostNameExcludeList + "\" " );
108
+ if (getInactivityTimeout () != null )
109
+ buf .append ("inactivityTimeout=\" " + inactivityTimeout + "\" " );
98
110
if (getMaxOpenConnections () != null )
99
111
buf .append ("maxOpenConnections=\" " + maxOpenConnections + "\" " );
100
112
buf .append ("}" );
0 commit comments