as I said before it's just a quick hack to allow direct access to cached
data with a ByteBuffer interface- useful to use it in NIO contexts (it was
a request made by hiram chirino from the activemq team). Probably it's easy
to come up with a better implementation. I was also pointing out that
there's already a test for that (NIOTest.java).

Ciao,
   R
Il giorno 18/feb/2012 21:15, "Simone Tripodi" <[email protected]> ha
scritto:

> +1 to Mau, there is no fault here, Raf!!!
>
> just to remark that we have been doing a community work here, joining
> efforts to make a better product than everybody could make
> individually! :)
>
> What I didn't understand, while applying generics, is why at at a
> certain point, Pointer.clazz becomes ByteBuffer.class, when it could
> safety be the type of stored object...
>
> Any hint?
> TIA,
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> On Sat, Feb 18, 2012 at 6:35 PM, Raffaele P. Guidi
> <[email protected]> wrote:
> > What about NIOTest in org.apache.directmemory.memory?
> >
> > On Sat, Feb 18, 2012 at 6:20 PM, Maurizio Cucchiara
> > <[email protected]>wrote:
> >
> >> Ciao Raffaele,
> >> there is no fault, we are still in time to write a small test :) (and
> maybe
> >> it would be better if you write it, since you are the one with the
> deeper
> >> overall view).
> >>
> >> Twitter     :http://www.twitter.com/m_cucchiara
> >> G+          :https://plus.google.com/107903711540963855921
> >> Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
> >>
> >> Maurizio Cucchiara
> >>
> >>
> >> On 18 February 2012 18:09, Raffaele P. Guidi <
> [email protected]
> >> >wrote:
> >>
> >> > Uhm I guess this is my fault...
> >>
>

Reply via email to