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

Brian Stansberry brian.stansberry at jboss.com
Thu Nov 9 21:48:45 EST 2006


  User: bstansberry
  Date: 06/11/09 21:48:45

  Modified:    src/org/jboss/cache/config  Configuration.java
  Log:
  Rename config property used to control CacheMgmtInterceptor
  
  Revision  Changes    Path
  1.24      +8 -8      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.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- Configuration.java	25 Oct 2006 04:50:20 -0000	1.23
  +++ Configuration.java	10 Nov 2006 02:48:45 -0000	1.24
  @@ -55,7 +55,7 @@
      private int replQueueMaxElements = 1000;
      @Dynamic
      private long replQueueInterval = 5000;
  -   private boolean useMbean = true;
  +   private boolean exposeManagementStatistics = true;
      private boolean fetchInMemoryState = true;
      private short replicationVersion = DEFAULT_REPLICATION_VERSION;
      private String replVersionString = Version.getVersionString(DEFAULT_REPLICATION_VERSION);
  @@ -140,10 +140,10 @@
         this.replQueueInterval = replQueueInterval;
      }
   
  -   public void setUseMbean(boolean useMbean)
  +   public void setExposeManagementStatistics(boolean useMbean)
      {
  -      testImmutability("useMbean");
  -      this.useMbean = useMbean;
  +      testImmutability("exposeManagementStatistics");
  +      this.exposeManagementStatistics = useMbean;
      }
   
      public void setFetchInMemoryState(boolean fetchInMemoryState)
  @@ -399,9 +399,9 @@
         return replQueueInterval;
      }
   
  -   public boolean isUseMbean()
  +   public boolean getExposeManagementStatistics()
      {
  -      return useMbean;
  +      return exposeManagementStatistics;
      }
   
      public boolean isFetchInMemoryState()
  @@ -582,7 +582,7 @@
         if (syncCommitPhase != that.syncCommitPhase) return false;
         if (syncReplTimeout != that.syncReplTimeout) return false;
         if (syncRollbackPhase != that.syncRollbackPhase) return false;
  -      if (useMbean != that.useMbean) return false;
  +      if (exposeManagementStatistics != that.exposeManagementStatistics) return false;
         if (useRegionBasedMarshalling != that.useRegionBasedMarshalling) return false;
         if (useReplQueue != that.useReplQueue) return false;
         if (buddyReplicationConfig != null ? !buddyReplicationConfig.equals(that.buddyReplicationConfig) : that.buddyReplicationConfig != null)
  @@ -623,7 +623,7 @@
         result = 29 * result + (useReplQueue ? 1 : 0);
         result = 29 * result + replQueueMaxElements;
         result = 29 * result + (int) (replQueueInterval ^ (replQueueInterval >>> 32));
  -      result = 29 * result + (useMbean ? 1 : 0);
  +      result = 29 * result + (exposeManagementStatistics ? 1 : 0);
         result = 29 * result + (fetchInMemoryState ? 1 : 0);
         result = 29 * result + (int) replicationVersion;
         result = 29 * result + (int) (lockAcquisitionTimeout ^ (lockAcquisitionTimeout >>> 32));
  
  
  



More information about the jboss-cvs-commits mailing list