[jboss-cvs] JBossAS SVN: r89565 - in projects/ejb3/tags: jboss-ejb3-metrics-spi-1.0.0-alpha-1 and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat May 30 16:37:46 EDT 2009
Author: ALRubinger
Date: 2009-05-30 16:37:46 -0400 (Sat, 30 May 2009)
New Revision: 89565
Added:
projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/
projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml
projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionInstanceMetrics.java
projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/StatefulSessionInstanceMetrics.java
Removed:
projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml
projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionMetrics.java
Log:
[maven-release-plugin] copy for tag jboss-ejb3-metrics-spi-1.0.0-alpha-1
Copied: projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1 (from rev 89503, projects/ejb3/trunk/metrics-spi)
Deleted: projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml
===================================================================
--- projects/ejb3/trunk/metrics-spi/pom.xml 2009-05-28 21:36:58 UTC (rev 89503)
+++ projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml 2009-05-30 20:37:46 UTC (rev 89565)
@@ -1,52 +0,0 @@
-<!--
- vi:ts=2:sw=2:expandtab
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!-- Define Parent -->
- <parent>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-build</artifactId>
- <version>1.0.0</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
-
- <!-- Maven POM Model Version -->
- <modelVersion>4.0.0</modelVersion>
-
- <!-- Artifact Information -->
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-metrics-spi</artifactId>
- <version>0.1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss EJB 3.x Metrics SPI</name>
- <description>Metrics for EJB 3.x Containers</description>
-
- <!-- Build Configuration -->
- <build>
-
-
- </build>
-
- <properties>
-
- <!-- Versioning -->
-
-
- </properties>
-
- <dependencies>
-
- <!--
- Dependencies: org.jboss.ejb3
- -->
-
-
- <!--
- Dependencies: External to EJB3
- -->
-
- </dependencies>
-</project>
Copied: projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml (from rev 89564, projects/ejb3/trunk/metrics-spi/pom.xml)
===================================================================
--- projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml (rev 0)
+++ projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/pom.xml 2009-05-30 20:37:46 UTC (rev 89565)
@@ -0,0 +1,53 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!-- Define Parent -->
+ <parent>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-build</artifactId>
+ <version>1.0.0</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+
+ <!-- Maven POM Model Version -->
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- Artifact Information -->
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-metrics-spi</artifactId>
+ <version>1.0.0-alpha-1</version>
+ <packaging>jar</packaging>
+ <name>JBoss EJB 3.x Metrics SPI</name>
+ <description>Metrics for EJB 3.x Containers</description>
+
+ <!-- Build Configuration -->
+ <build>
+
+
+ </build>
+
+ <properties>
+
+ <!-- Versioning -->
+
+
+ </properties>
+
+ <dependencies>
+
+ <!--
+ Dependencies: org.jboss.ejb3
+ -->
+
+
+ <!--
+ Dependencies: External to EJB3
+ -->
+
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1</developerConnection>
+ <url>http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1</url>
+ </scm>
+</project>
\ No newline at end of file
Copied: projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionInstanceMetrics.java (from rev 89504, projects/ejb3/trunk/metrics-spi/src/main/java/org/jboss/ejb3/metrics/spi/SessionInstanceMetrics.java)
===================================================================
--- projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionInstanceMetrics.java (rev 0)
+++ projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionInstanceMetrics.java 2009-05-30 20:37:46 UTC (rev 89565)
@@ -0,0 +1,77 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.ejb3.metrics.spi;
+
+/**
+ * SessionInstanceMetrics
+ *
+ * Represents backing instance metrics of any type of
+ * EJB 3.x Session Bean, typically targeting the underlying
+ * instance pool or cache
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface SessionInstanceMetrics
+{
+ // --------------------------------------------------------------------------------||
+ // Contracts ----------------------------------------------------------------------||
+ // --------------------------------------------------------------------------------||
+
+ /**
+ * Obtains the current size of the underlying
+ * pool/cache of bean instances
+ *
+ * @return
+ */
+ int getCurrentSize();
+
+ /**
+ * Obtains the number of instances created for this EJB
+ *
+ * @return
+ */
+ int getCreateCount();
+
+ /**
+ * Obtains the number of instances removed for this EJB
+ *
+ * @return
+ */
+ int getRemoveCount();
+
+ /**
+ * Obtains the number of instances currently available for
+ * service for this EJB
+ *
+ * @return
+ */
+ int getAvailableCount();
+
+ /**
+ * Obtains the size of the underlying instance pool/cache
+ * at it highest
+ *
+ * @return
+ */
+ int getMaxSize();
+}
Deleted: projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionMetrics.java
===================================================================
--- projects/ejb3/trunk/metrics-spi/src/main/java/org/jboss/ejb3/metrics/spi/SessionMetrics.java 2009-05-28 21:36:58 UTC (rev 89503)
+++ projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/SessionMetrics.java 2009-05-30 20:37:46 UTC (rev 89565)
@@ -1,118 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, 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.ejb3.metrics.spi;
-
-/**
- * SessionMetrics
- *
- * Represents metrics of any type of EJB 3.x Session Bean
- *
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- */
-public interface SessionMetrics
-{
- // --------------------------------------------------------------------------------||
- // Contracts ----------------------------------------------------------------------||
- // --------------------------------------------------------------------------------||
-
- /**
- * Obtains the current size of the underlying
- * pool/cache of bean instances
- *
- * @return
- */
- int getCurrentSize();
-
- /**
- * Sets the current size of the underlying
- * pool/cache of bean instances
- *
- * @param currentSize
- * @throws IllegalArgumentException If the count is < 0
- */
- void setCurrentSize(int currentSize) throws IllegalArgumentException;
-
- /**
- * Obtains the number of instances created for this EJB
- *
- * @return
- */
- int getCreateCount();
-
- /**
- * Sets the number of instances created for this EJB
- *
- * @param createCount
- * @throws IllegalArgumentException If the count is < 0
- */
- void setCreateCount(int createCount) throws IllegalArgumentException;
-
- /**
- * Obtains the number of instances removed for this EJB
- *
- * @return
- */
- int getRemoveCount();
-
- /**
- * Sets the number of instances removed for this EJB
- *
- * @param removeCount
- * @throws IllegalArgumentException If the count is < 0
- */
- void setRemoveCount(int removeCount) throws IllegalArgumentException;
-
- /**
- * Obtains the number of instances currently available for
- * service for this EJB
- *
- * @return
- */
- int getAvailableCount();
-
- /**
- * Sets the number of instances currently available for
- * service for this EJB
- *
- * @param availableCount
- * @throws IllegalArgumentException If the count is < 0
- */
- void setAvailableCount(int availableCount) throws IllegalArgumentException;
-
- /**
- * Obtains the size of the underlying instance pool/cache
- * at it highest
- *
- * @return
- */
- int getMaxSize();
-
- /**
- * Sets the size of the underlying instance pool/cache
- * at it highest
- *
- * @param maxSize
- * @throws IllegalArgumentException If the count is < 0
- */
- void setMaxSize(int maxSize) throws IllegalArgumentException;
-}
Copied: projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/StatefulSessionInstanceMetrics.java (from rev 89504, projects/ejb3/trunk/metrics-spi/src/main/java/org/jboss/ejb3/metrics/spi/StatefulSessionInstanceMetrics.java)
===================================================================
--- projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/StatefulSessionInstanceMetrics.java (rev 0)
+++ projects/ejb3/tags/jboss-ejb3-metrics-spi-1.0.0-alpha-1/src/main/java/org/jboss/ejb3/metrics/spi/StatefulSessionInstanceMetrics.java 2009-05-30 20:37:46 UTC (rev 89565)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.ejb3.metrics.spi;
+
+/**
+ * StatefulSessionInstanceMetrics
+ *
+ * Represents backing instance metrics of EJB3 Stateful Session Beans
+ * targeting the underlying instance cache
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface StatefulSessionInstanceMetrics extends SessionInstanceMetrics
+{
+
+ // --------------------------------------------------------------------------------||
+ // Contracts ----------------------------------------------------------------------||
+ // --------------------------------------------------------------------------------||
+
+ /**
+ * Obtains the current number of instances in the cache
+ *
+ * @return
+ */
+ int getCacheSize();
+
+ /**
+ * Returns the total size of the cache
+ *
+ * @return
+ */
+ int getTotalSize();
+
+ /**
+ * Returns the number of instanes passivated
+ *
+ * @return
+ */
+ int getPassivatedCount();
+}
More information about the jboss-cvs-commits
mailing list