[jboss-user] [JBoss Cache: Core Edition] - Re: Opinions wanted: Generics in the Cache interface

jreeman do-not-reply at jboss.com
Sun Sep 7 09:48:02 EDT 2008


Hello,

"manik.surtani at jboss.com" wrote : What do people think of the genericisation of the Cache interface - introduced in "Habanero" for the 2.X series?  Are they useful or a pain to use?  And more importantly, should they be removed in 3.X?

There is a problem while expiration policy because we have to do that :

		node.put(ExpirationConfiguration.EXPIRATION_KEY, System.currentTimeMillis() + expirationTime * 1000L);

So in this cache we cannot use generic.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174831#4174831

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174831



More information about the jboss-user mailing list