You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2026/03/19 17:44:04 UTC
(commons-jcs) 09/11: Change type of RemoteCacheAttributes.rmiSocketFactoryTimeout to Duration
This is an automated email from the ASF dual-hosted git repository.
tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit b2797345245ccb49227351ad8d0d9e3d8182824f
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Thu Mar 19 17:40:13 2026 +0100
Change type of RemoteCacheAttributes.rmiSocketFactoryTimeout to Duration
---
commons-jcs4-core/src/test/test-conf/TestRemoteCacheClientServer.ccf | 2 +-
src/site/xdoc/RemoteAuxCache.xml | 2 +-
src/site/xdoc/RemoteHttpCacheProperties.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/commons-jcs4-core/src/test/test-conf/TestRemoteCacheClientServer.ccf b/commons-jcs4-core/src/test/test-conf/TestRemoteCacheClientServer.ccf
index 6dd32423..0bb2a192 100644
--- a/commons-jcs4-core/src/test/test-conf/TestRemoteCacheClientServer.ccf
+++ b/commons-jcs4-core/src/test/test-conf/TestRemoteCacheClientServer.ccf
@@ -22,7 +22,7 @@ registry.port=11020
# client callback port.
jcs.remotecache.serverattributes.servicePort=13010
-jcs.remotecache.serverattributes.RmiSocketFactoryTimeout=PT12.345s
+jcs.remotecache.serverattributes.rmiSocketFactoryTimeout=PT12.345s
# cluster setting
jcs.remotecache.serverattributes.LocalClusterConsistency=true
diff --git a/src/site/xdoc/RemoteAuxCache.xml b/src/site/xdoc/RemoteAuxCache.xml
index 3e11ed62..a2b937b7 100644
--- a/src/site/xdoc/RemoteAuxCache.xml
+++ b/src/site/xdoc/RemoteAuxCache.xml
@@ -196,7 +196,7 @@ registry.port=1102
# call back port to local caches.
jcs.remotecache.serverattributes.servicePort=1102
# rmi socket factory timeout
-jcs.remotecache.serverattributes.rmiSocketFactoryTimeoutMillis=5000
+jcs.remotecache.serverattributes.RmiSocketFactoryTimeout=PT5s
# cluster setting
jcs.remotecache.serverattributes.LocalClusterConsistency=true
jcs.remotecache.serverattributes.AllowClusterGet=true
diff --git a/src/site/xdoc/RemoteHttpCacheProperties.xml b/src/site/xdoc/RemoteHttpCacheProperties.xml
index be44daa7..d27bbab4 100644
--- a/src/site/xdoc/RemoteHttpCacheProperties.xml
+++ b/src/site/xdoc/RemoteHttpCacheProperties.xml
@@ -104,7 +104,7 @@ jcs.auxiliary.RC=org.apache.commons.jcs4.auxiliary.remote.http.client.RemoteCach
jcs.auxiliary.RC.attributes.FailoverServers=localhost:1101,localhost:1102
jcs.auxiliary.RC.attributes.LocalPort=1201
jcs.auxiliary.RC.attributes.RemoveUponRemotePut=false
-jcs.auxiliary.RC.attributes.RmiSocketFactoryTimeoutMillis=5000
+jcs.auxiliary.RC.attributes.RmiSocketFactoryTimeout=PT5s
jcs.auxiliary.RC.attributes.GetOnly=false
jcs.auxiliary.RC.attributes.Receive=false
]]>