[jboss-cvs] JBossAS SVN: r106622 - projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jul 12 23:08:28 EDT 2010
Author: smarlow at redhat.com
Date: 2010-07-12 23:08:27 -0400 (Mon, 12 Jul 2010)
New Revision: 106622
Modified:
projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/DistributedCacheManager.java
Log:
JBCLUSTER-258 eliminate field oriented methods from web session DistributedCacheManager SPI
Modified: projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/DistributedCacheManager.java
===================================================================
--- projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/DistributedCacheManager.java 2010-07-13 00:04:43 UTC (rev 106621)
+++ projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/DistributedCacheManager.java 2010-07-13 03:08:27 UTC (rev 106622)
@@ -153,86 +153,5 @@
*/
boolean getSupportsAttributeOperations();
- /**
- * Get the value of the attribute with the given key from the given session.
- *
- * @param realId the session id with any jvmRoute removed
- * @param key the attribute key
- * @return the attribute value, or <code>null</code>
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- Object getAttribute(String realId, String key);
-
- /**
- * Stores the given value under the given key in the given session.
- *
- * @param realId the session id with any jvmRoute removed
- * @param key the attribute key
- * @param value the previous attribute value, or <code>null</code>
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- void putAttribute(String realId, String key, Object value);
-
- /**
- * Stores the given map of attribute key/value pairs in the given session.
- *
- * @param realId the session id with any jvmRoute removed
- * @param map
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- void putAttribute(String realId, Map<String, Object> map);
-
- /**
- * Removes the attribute with the given key from the given session.
- *
- * @param realId the session id with any jvmRoute removed
- * @param key the attribute key
- * @return the previous attribute value, or <code>null</code>
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- Object removeAttribute(String realId, String key);
-
- /**
- * Removes the attribute with the given key from the given session, but
- * only on the local node.
- *
- * @param realId the session id with any jvmRoute removed
- * @param key the attribute key
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- void removeAttributeLocal(String realId, String key);
-
- /**
- * Obtain the attribute keys associated with this session.
- *
- * @param realId the session id with any jvmRoute removed
- * @return the attribute keys or an empty Set if none are found
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- Set<String> getAttributeKeys(String realId);
-
- /**
- * Return all attributes associated with this session id.
- *
- * @param realId the session id with any jvmRoute removed
- * @return the attributes, or any empty Map if none are found.
- *
- * @throws UnsupportedOperationException if {@link #getSupportsAttributeOperations()}
- * would return <code>false</code>
- */
- Map<String, Object> getAttributes(String realId);
-
void setForceSynchronous(boolean forceSynchronous);
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list