DaveAKing / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Add method memoizeWithRetry to Suppliers.java #1428

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes you have a future that would be nice to have earlier in a workflow 
but NOT needed. You don't want to give up trying to get it so you want to try 
again later. This method would require the BaseSupplier to be optional so it 
won't mark the initialized value to true unless it returns a NON absent value.

I have the code for this and would like to contribute it. Your guidelines said 
to keep it secret until the ticket is approved.

Thanks!

Original issue reported on code.google.com by adamila...@gmail.com on 24 May 2013 at 2:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I can't seem to edit my own issue. When I said the BaseSupplier needs to be 
optional I meant
Supplier<Optional<T>>

Original comment by adamila...@gmail.com on 24 May 2013 at 2:52

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08