into our database that will support the
PersonService. The only thing we can do is the first time a request is made
that needs a Person record, we can create that record using the limited
amount of data we have in our token. However the first request may not be
to the PersonService at all, but
[mailto:ftank...@gmail.com]
> Sent: vendredi 16 avril 2010 17:07
> To: dev@shindig.apache.org
> Subject: Re: Functions of PersonService
>
> THis is for concurrency.
> take a look at this ( I grabbed it in the java.util.concurrrent package ) :
>
> A Future represents the result of a
ftank...@gmail.com]
Sent: vendredi 16 avril 2010 17:07
To: dev@shindig.apache.org
Subject: Re: Functions of PersonService
THis is for concurrency.
take a look at this ( I grabbed it in the java.util.concurrrent package ) :
A Future represents the result of an asynchronous computation. Method
wrote:
> Thanks
> Can you explain me why we have to use Future<> in these methods of
> PersonService?
> I want to understand well the advantage of Future<>.
> Thank you
>
> -Original Message-
> From: franck tankoua [mailto:ftank...@gmail.com]
> Sent:
Thanks
Can you explain me why we have to use Future<> in these methods of
PersonService?
I want to understand well the advantage of Future<>.
Thank you
-Original Message-
From: franck tankoua [mailto:ftank...@gmail.com]
Sent: vendredi 16 avril 2010 15:04
To: dev@shindi
From: franck tankoua [mailto:ftank...@gmail.com]
> Sent: vendredi 16 avril 2010 14:26
> To: dev@shindig.apache.org
> Subject: Re: Functions of PersonService
>
> Hi Vu,
>
> I am not sure if I understand your question.
> But let me give you what might be answer. You need to
: vendredi 16 avril 2010 14:26
To: dev@shindig.apache.org
Subject: Re: Functions of PersonService
Hi Vu,
I am not sure if I understand your question.
But let me give you what might be answer. You need to implements two
methods.
Future getPerson(UserId id, Set fields, SecurityToken token)
and
in
org.apache.shindig.social.sample.spi.JsonDbOpensocialService.
On Fri, Apr 16, 2010 at 2:11 PM, VU, Thi Thu Thuy
wrote:
> Hi,
> I read the interface PersonService, but I'm not sure if I understand it or
> not.
> I can't figure out which functions that PersonService gives us?
>
> Could you tell me, pls?
> Thank you very much.
>
--
Franck
Hi,
I read the interface PersonService, but I'm not sure if I understand it or not.
I can't figure out which functions that PersonService gives us?
Could you tell me, pls?
Thank you very much.