[jboss-cvs] JBossAS SVN: r104222 - projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Apr 24 21:50:57 EDT 2010


Author: bstansberry at jboss.com
Date: 2010-04-24 21:50:57 -0400 (Sat, 24 Apr 2010)
New Revision: 104222

Modified:
   projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedState.java
Log:
Genericize

Modified: projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedState.java
===================================================================
--- projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedState.java	2010-04-25 01:48:14 UTC (rev 104221)
+++ projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedState.java	2010-04-25 01:50:57 UTC (rev 104222)
@@ -166,21 +166,21 @@
     * Return a list of all categories. Call managed locally: no network access.
     * @return A collection of String representing the existing categories in the DS service.
     */
-   public Collection getAllCategories ();
+   public Collection<String> getAllCategories ();
    
    /**
     * Return a list of all keys in a category. Call managed locally: no network access.
     * @param category The category under which to look for keys
     * @return A collection of all keys in the give category
     */
-   public Collection getAllKeys (String category);
+   public Collection<? extends Serializable> getAllKeys (String category);
 
    /**
     * Return a list of all values in a category. Call managed locally: no network access.
     * @param category The category name under which to look for values
     * @return A collection of all values in the give category
     */
-   public Collection getAllValues (String category);
+   public Collection<? extends Serializable> getAllValues (String category);
 
    /**
     * Remove the key from the ReplicationService in the given category




More information about the jboss-cvs-commits mailing list