incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Cache keys
Date Thu, 15 Dec 2011 12:54:52 GMT
Hi all,

while working on one of the examples I found myself wondering why keys in
Cache have to be Strings.
Generally a cache should also be able to use objects of whatever nature as
keys, so we could use the same serialization mechanism used for values or,
at least, define keys to be implementing the java.io.Serializable interface.
What do you think?

Tommaso

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message