diff options
author | Shawn Pearce <spearce@spearce.org> | 2016-11-15 17:34:07 -0800 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2016-11-21 11:34:14 -0800 |
commit | 81f9c18433f9d53a64498b07c90c4fc73654d942 (patch) | |
tree | a664218e45862de9de923e16875a6b19764b867a /org.eclipse.jgit/src/org/eclipse/jgit/hooks | |
parent | 608e31126e3ef0ff4d02e048dc5eefdb28f0b7c4 (diff) | |
download | jgit-81f9c18433f9d53a64498b07c90c4fc73654d942.tar.gz jgit-81f9c18433f9d53a64498b07c90c4fc73654d942.zip |
Define MonotonicClock interface for advanced timestamps
MonotonicClock can be implemented to provide more certainity about
time than the standard System.currentTimeMillis() can provide. This
can be used by classes such as PersonIdent and Ketch to rely on
more certainity about time moving in a strictly ascending order.
Gerrit Code Review can also leverage this interface through its
embedding of JGit and use MonotonicClock and ProposedTimestamp to
provide stronger assurance that NoteDb time is moving forward.
Change-Id: I1a3cbd49a39b150a0d49b36d572da113ca83a786
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/hooks')
0 files changed, 0 insertions, 0 deletions