changeset 33:2b4b4347d1a7

* turn timeout values into properties, to make the configurable
author Peter Stamfest <peter@stamfest.at>
date Thu, 31 Oct 2013 08:24:40 +0100
parents bd20ba1a45e8
children 837598151b6a
files src/main/java/net/stamfest/rrd/RRDCachedClient.java
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/net/stamfest/rrd/RRDCachedClient.java	Thu Oct 31 08:21:50 2013 +0100
+++ b/src/main/java/net/stamfest/rrd/RRDCachedClient.java	Thu Oct 31 08:24:40 2013 +0100
@@ -233,4 +233,19 @@
 	}
     }
 
+    public int getTimeout() {
+	return timeout;
+    }
+
+    public void setTimeout(int timeout) {
+	this.timeout = timeout;
+    }
+
+    public int getReconnectMinDelay() {
+	return reconnectMinDelay;
+    }
+
+    public void setReconnectMinDelay(int reconnectMinDelay) {
+	this.reconnectMinDelay = reconnectMinDelay;
+    }
 }