Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taichi/retry-handler
m9 yoshiori
https://github.com/taichi/retry-handler
Last synced: 8 days ago
JSON representation
m9 yoshiori
- Host: GitHub
- URL: https://github.com/taichi/retry-handler
- Owner: taichi
- License: other
- Created: 2012-03-15T17:44:12.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-15T20:25:50.000Z (almost 13 years ago)
- Last Synced: 2024-11-16T21:41:49.949Z (2 months ago)
- Language: Java
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thread.sleep とかねぇと思うな。
後、Runnableって自前インターフェースはいくら何でも酷いと思う。
JDKに入ってない別な名前にするべき。
加えて言うなら、Gradle可愛いよ、Gradle。Futureの扱いがテキトー過ぎて、ちゃんと途中キャンセルできねぇので、
sleep使う方が簡単な分、イマイチな事になってしもうた…。凡そ正しい実装はこれかね。
* [RetryingFutureTask.java](https://github.com/twitter/commons/blob/master/src/java/com/twitter/common/util/concurrent/RetryingFutureTask.java)
## Requirements
* java7 tested by 1.7.0_02
* gradle 1.0-milestone-7 (for development)
* eclipse 3.7.1 (for development)## License
Apache License, Version 2.0