[jboss-cvs] JBossCache/src/org/jboss/cache/config ...
Ben Wang
bwang at jboss.com
Mon Sep 25 01:50:03 EDT 2006
User: bwang
Date: 06/09/25 01:50:03
Modified: src/org/jboss/cache/config Configuration.java
Log:
1. Modify useInterceptorMbeans to useMbean
2. Added PojoCache jmx framework
3. added test
Revision Changes Path
1.21 +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.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- Configuration.java 15 Sep 2006 15:11:35 -0000 1.20
+++ Configuration.java 25 Sep 2006 05:50:03 -0000 1.21
@@ -58,7 +58,7 @@
private int replQueueMaxElements = 1000;
@Dynamic
private long replQueueInterval = 5000;
- private boolean useInterceptorMbeans = true;
+ private boolean useMbean = true;
private boolean fetchInMemoryState = true;
private short replicationVersion = DEFAULT_REPLICATION_VERSION;
private String replVersionString = Version.getVersionString(DEFAULT_REPLICATION_VERSION);
@@ -144,10 +144,10 @@
this.replQueueInterval = replQueueInterval;
}
- public void setUseInterceptorMbeans(boolean useInterceptorMbeans)
+ public void setUseMbean(boolean useMbean)
{
- testImmutability("useInterceptorMbeans");
- this.useInterceptorMbeans = useInterceptorMbeans;
+ testImmutability("useMbean");
+ this.useMbean = useMbean;
}
public void setFetchInMemoryState(boolean fetchInMemoryState)
@@ -372,9 +372,9 @@
return replQueueInterval;
}
- public boolean isUseInterceptorMbeans()
+ public boolean isUseMbean()
{
- return useInterceptorMbeans;
+ return useMbean;
}
public boolean isFetchInMemoryState()
@@ -595,7 +595,7 @@
if (syncCommitPhase != that.syncCommitPhase) return false;
if (syncReplTimeout != that.syncReplTimeout) return false;
if (syncRollbackPhase != that.syncRollbackPhase) return false;
- if (useInterceptorMbeans != that.useInterceptorMbeans) return false;
+ if (useMbean != that.useMbean) return false;
if (useRegionBasedMarshalling != that.useRegionBasedMarshalling) return false;
if (useReplQueue != that.useReplQueue) return false;
if (buddyReplicationConfig != null ? !buddyReplicationConfig.equals(that.buddyReplicationConfig) : that.buddyReplicationConfig != null)
@@ -640,7 +640,7 @@
result = 29 * result + (useReplQueue ? 1 : 0);
result = 29 * result + replQueueMaxElements;
result = 29 * result + (int) (replQueueInterval ^ (replQueueInterval >>> 32));
- result = 29 * result + (useInterceptorMbeans ? 1 : 0);
+ result = 29 * result + (useMbean ? 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