[jboss-cvs] JBossCache/src/org/jboss/cache/config ...

Jerry Gauthier jgauthier at novell.com
Thu Aug 17 10:29:24 EDT 2006


  User: jerrygauth
  Date: 06/08/17 10:29:24

  Modified:    src/org/jboss/cache/config  Configuration.java
  Log:
  JBCACHE-470, added multiplexer attributes to JBC Configuration
  
  Revision  Changes    Path
  1.15      +30 -0     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.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- Configuration.java	16 Aug 2006 11:15:56 -0000	1.14
  +++ Configuration.java	17 Aug 2006 14:29:24 -0000	1.15
  @@ -122,6 +122,16 @@
       private boolean nodeLockingOptimistic = false;
       private NodeLockingScheme nodeLockingScheme = NodeLockingScheme.PESSIMISTIC;
   
  +    /**
  +     * The JGroups multiplexer service name; null if the multiplexer isn't used
  +     */
  +    private String muxServiceName = null;
  +
  +    /**
  +     * The JGroups multiplexer stack name, default is "fc-fast-minimalthreads"
  +     */
  +    private String muxStackName = "fc-fast-minimalthreads";
  +
       String parseClusterConfigXml(Element config)
       {
           StringBuffer buffer = new StringBuffer();
  @@ -462,4 +472,24 @@
           }
       }
   
  +    public String getMultiplexerStack()
  +    {
  +        return muxStackName;
  +    }
  +
  +    public void setMultiplexerStack(String stackName)
  +    {
  +        this.muxStackName = stackName;
  +    }
  +    
  +    public String getMultiplexerService()
  +    {
  +        return muxServiceName;
  +    }
  +
  +    public void setMultiplexerService(String serviceName)
  +    {
  +        this.muxServiceName = serviceName;
  +    }
  +
   }
  
  
  



More information about the jboss-cvs-commits mailing list