i read 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/aafbeb679a6e6790/a26aebbe4d4cd0b2#a26aebbe4d4cd0b2,
now i get the difference.

I'm still curious where does "method" name come from?

On Mar 20, 12:10 pm, Tristan <tristan.slomin...@gmail.com> wrote:
> to add a comment.. perhaps John, you could elaborate on what
> makeAsyncCall means in your code? and how is what you're asking for
> different?
>
> On Mar 20, 12:09 pm, Tristan <tristan.slomin...@gmail.com> wrote:
>
>
>
> > i think there are already async datastore operations, although not yet
> > documented. i'd love for you guys to check this out and tell me what
> > you think
>
> > John Patterson uses async datastore calls in his twig-persist, see
> > here:http://code.google.com/p/twig-persist/wiki/Using#Parallel_Asynchronou...
>
> > if you look at his source code AsyncDatastoreHelper (http://
> > code.google.com/p/twig-persist/source/browse/src/main/java/com/google/
> > appengine/api/datastore/AsyncDatastoreHelper.java) he uses an async
> > call:
>
> >         static Future<byte[]> makeAsyncCall(String method,
> > ProtocolMessage<?> request)
> >         {
> >                 try
> >                 {
> >                         return ApiProxy.makeAsyncCall("datastore_v3",
> > method, request.toByteArray());
> >                 }
> >                 catch (ApiProxy.ApplicationException exception)
> >                 {
> >                         throw
> > DatastoreApiHelper.translateError(exception);
> >                 }
> >         }
>
> > The only other code I found using ApiProxy.makeAsyncCall was Max Ross
> > inhttp://code.google.com/p/datanucleus-appengine/source/browse/trunk/te...
>
> > If someone wants to take a stab at it and explain how to use those low-
> > level calls that would be fantastic!
>
> > Cheers!
>
> > Tristan
>
> > On Mar 20, 11:36 am, Spines <kwste...@gmail.com> wrote:
>
> > > I definitely want async datastore operations.
>
> > > Looks like there is an issue in the issue tracker now 
> > > -http://code.google.com/p/googleappengine/issues/detail?id=2817
>
> > > On Feb 14, 8:02 pm, Ivan Pardo <trux...@gmail.com> wrote:
>
> > > > async datastore operations would be incredibly useful
>
> > > > On Jan 23, 1:09 am, John Patterson <jdpatter...@gmail.com> wrote:
>
> > > > > Hi, I know that async url fetch is expected in the next release but I 
> > > > >  
> > > > > was wondering if async datastore operations were expected any time  
> > > > > soon or on the roadmap at all?
>
> > > > > Thanks,
>
> > > > > John

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to