[jboss-cvs] JBossAS SVN: r61831 - trunk/server/src/main/org/jboss/invocation.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 29 04:31:42 EDT 2007
Author: dimitris at jboss.org
Date: 2007-03-29 04:31:42 -0400 (Thu, 29 Mar 2007)
New Revision: 61831
Modified:
trunk/server/src/main/org/jboss/invocation/InvocationStatistics.java
Log:
JBAS-3855, make org.jboss.invocation.InvocationStatistics serializable so that it can be queried remotely.
Modified: trunk/server/src/main/org/jboss/invocation/InvocationStatistics.java
===================================================================
--- trunk/server/src/main/org/jboss/invocation/InvocationStatistics.java 2007-03-29 08:28:21 UTC (rev 61830)
+++ trunk/server/src/main/org/jboss/invocation/InvocationStatistics.java 2007-03-29 08:31:42 UTC (rev 61831)
@@ -1,26 +1,27 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.invocation;
+import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Iterator;
@@ -34,7 +35,11 @@
* @version $Revision$
*/
public class InvocationStatistics
+ implements Serializable
{
+ /** @since 4.2.0 */
+ private static final long serialVersionUID = -8031193044335393420L;
+
/** A HashMap<Method, TimeStatistic> of the method invocations */
private Map methodStats;
@@ -43,7 +48,11 @@
public long lastResetTime = System.currentTimeMillis();
public class TimeStatistic
+ implements Serializable
{
+ /** @since 4.2.0 */
+ private static final long serialVersionUID = -8689933338506854386L;
+
public volatile long count;
public volatile long minTime = Long.MAX_VALUE;
public volatile long maxTime;
More information about the jboss-cvs-commits
mailing list