Sorry - please ignore my implementation on determining the unique 
identifier - it wasn't meant to be salient to the discussion. My point was 
about creating related messages, I just picked the notion of a unique 
message id as a example message property I might like many of my messages 
to conceptually inherit.

On Sunday, December 15, 2013 5:25:53 PM UTC-8, Nicholas Sterling wrote:
>
> Judging from the response, I probably wasn't clear enough -- let me try 
> again.
>
> Generating unique IDs by grabbing System.nanoTime, as Shawn's code snippet 
> above does, appears to assume that you'll never generate two IDs in the 
> same nanosecond.  I wonder whether that's a safe assumption.  Unless there 
> are special circumstances that guarantee that it won't happen, I wouldn't 
> assume so.
>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to