[jboss-cvs] JBossCache/src/org/jboss/cache/config ...
Brian Stansberry
brian.stansberry at jboss.com
Tue Jan 2 22:11:26 EST 2007
User: bstansberry
Date: 07/01/02 22:11:26
Modified: src/org/jboss/cache/config Configuration.java
Log:
Expose in the configuration whether the multiplexer was used to create the channel
Revision Changes Path
1.30 +13 -1 JBossCache/src/org/jboss/cache/config/Configuration.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Configuration.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/Configuration.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- Configuration.java 30 Dec 2006 19:48:48 -0000 1.29
+++ Configuration.java 3 Jan 2007 03:11:26 -0000 1.30
@@ -102,6 +102,7 @@
private NodeLockingScheme nodeLockingScheme = NodeLockingScheme.PESSIMISTIC;
private String muxServiceName = null;
private String muxStackName = "fc-fast-minimalthreads";
+ private boolean usingMultiplexer = false;
private transient RuntimeConfig runtimeConfig;
// ------------------------------------------------------------------------------------------------------------
@@ -374,6 +375,17 @@
this.muxServiceName = serviceName;
}
+ public boolean isUsingMultiplexer()
+ {
+ return usingMultiplexer;
+ }
+
+ public void setUsingMultiplexer(boolean usingMultiplexer)
+ {
+ testImmutability("usingMultiplexer");
+ this.usingMultiplexer = usingMultiplexer;
+ }
+
/**
* Sets the JMX service name to bind the cache to.
*
More information about the jboss-cvs-commits
mailing list