[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/jmx ...
Manik Surtani
manik at jboss.org
Thu Jun 14 11:30:15 EDT 2007
User: msurtani
Date: 07/06/14 11:30:15
Modified: src/org/jboss/cache/pojo/jmx PojoCacheJmxWrapper.java
Log:
JBCACHE-1109
Revision Changes Path
1.14 +56 -57 JBossCache/src/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheJmxWrapper.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/jmx/PojoCacheJmxWrapper.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- PojoCacheJmxWrapper.java 4 Jun 2007 22:56:02 -0000 1.13
+++ PojoCacheJmxWrapper.java 14 Jun 2007 15:30:15 -0000 1.14
@@ -21,10 +21,6 @@
*/
package org.jboss.cache.pojo.jmx;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.CacheException;
@@ -58,6 +54,9 @@
import javax.management.NotificationListener;
import javax.management.ObjectName;
import javax.transaction.TransactionManager;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Set;
public class PojoCacheJmxWrapper
implements PojoCacheJmxWrapperMBean, MBeanRegistration, NotificationEmitter
@@ -346,9 +345,9 @@
return getConfiguration().isFetchInMemoryState();
}
- public long getInitialStateRetrievalTimeout()
+ public long getStateRetrievalTimeout()
{
- return getConfiguration().getInitialStateRetrievalTimeout();
+ return getConfiguration().getStateRetrievalTimeout();
}
public String getIsolationLevel()
@@ -524,9 +523,9 @@
getConfiguration().setInactiveOnStartup(inactiveOnStartup);
}
- public void setInitialStateRetrievalTimeout(long timeout)
+ public void setStateRetrievalTimeout(long timeout)
{
- getConfiguration().setInitialStateRetrievalTimeout(timeout);
+ getConfiguration().setStateRetrievalTimeout(timeout);
}
public void setIsolationLevel(String level)
@@ -727,7 +726,7 @@
{
boolean found = false;
for (Iterator<NotificationListenerArgs> iter = pendingListeners.iterator();
- iter.hasNext(); )
+ iter.hasNext();)
{
NotificationListenerArgs args = iter.next();
if (safeEquals(listener, args.listener))
@@ -811,7 +810,7 @@
// Add any NotificationListeners we registered before creating
// the CacheJmxWrapper
- synchronized(pendingListeners)
+ synchronized (pendingListeners)
{
for (NotificationListenerArgs args : pendingListeners)
{
More information about the jboss-cvs-commits
mailing list