[REEF-1527] Refactor RuntimeClock and implement graceful shutdown correctly.

 * Refactor RuntimeClock for readability and add more Javadoc comments;
 * Fix the bug in RuntimeClock.close() that clears all scheduled events without
   processing them;
 * Clean up and refactor code for Time and derived classes, add Javadocs;
 * Improve logging in RuntimeClock and around;
 * Cosmetic refactoring of RuntimeClock unit tests (new unit tests will be in a
   separate pull request)
 * Avoid loops over entire schedule in .close() and .isIdle() methods to find
   client alarms.

JIRA:
  [REEF-1527](https://issues.apache.org/jira/browse/REEF-1527) close

Pull Request:
  This closes #1096
13 files changed
tree: 40ab11bf72711fc45434f67cb8099ebf984e47ee
  1. bin/
  2. dev/
  3. lang/
  4. website/
  5. .gitattributes
  6. .gitignore
  7. .travis.yml
  8. appveyor.yml
  9. Doxyfile
  10. HEADER
  11. LICENSE
  12. NOTICE
  13. pom.xml
  14. README.md
README.md

Apache REEF™

Apache REEF™ (Retainable Evaluator Execution Framework) is a library for developing portable applications for cluster resource managers such as Apache Hadoop YARN or Apache Mesos. For example, Microsoft Azure Stream Analytics is built on REEF and Hadoop.

Online Documentation

Detailed information on REEF can be found in the following places:

The developer mailing list is the best way to reach REEF‘s developers when the above aren’t sufficient.

Build Status

ComponentOSStatus
REEF JavaUbuntuBuild Status
REEF.NETWindowsBuild status

Building REEF

Java.NET
Build & run unit testsjava\BUILD.mdcs\BUILD.md

Releases

downloads NuGet package

License

Apache 2.0