On 19 May 2011, at 20:56, Olaf Bergner wrote:
>
> Yes, some form of MetaData would need to be defined. Or maybe we just need size.
>
> int sizeOfEntry(K key)
As of today LargeObjectMetadata already stores a large object's total
size. In the future it may well hold additional metadata as e.g. mime
type and possibly arbitrary user defined key-value-pairs. To keep the
API as stable as possible I rather opt for
Metadata largeObjectMetadata(K key)
getLargeObjectMetadata(K key)?
instead of dedicated methods for each conceivable metadatum.
+1
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org