tmf: Optimize the ETERNITY time range
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 1 Nov 2013 22:54:12 +0000 (18:54 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 5 Nov 2013 20:00:33 +0000 (15:00 -0500)
commit56e3f319b1b8a18c55335427507bd23512ba5ed4
tree6adf14625fe2e9fe46c17a6de46bff2a32d94843
parent2d17cf162cf787f668cc813e192313bfe0bc7864
tmf: Optimize the ETERNITY time range

TmfTimeRange.ETERNITY is often used in requests and the like, when
you do not want to filter on timestamps at all. Implement it as
a subclass which does not even bother checking the range borders,
since any other timestamp or time range is definitely included.

Change-Id: I45c80523b054c33bd96f859355b795be38f7e760
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17981
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/timestamp/TmfTimeRange.java
This page took 0.028521 seconds and 5 git commands to generate.