[infinispan-dev] [ISPN-78] RFC: Finalizing API

Olaf Bergner olaf.bergner at gmx.de
Sun May 22 14:49:43 EDT 2011


Am 20.05.11 08:34, schrieb Manik Surtani:
> 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)?
>
Yes, this is probably more in line with Infinispan's established naming 
conventions.
>> instead of dedicated methods for each conceivable metadatum.
>
> +1
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
>
> Lead, Infinispan
> http://www.infinispan.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



More information about the infinispan-dev mailing list