tmf: Add a ITmfStateSystem.waitUntilBuilt() method with timeout
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 15 Jan 2014 18:46:36 +0000 (13:46 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 16 Jan 2014 03:21:28 +0000 (22:21 -0500)
commit9287b6a29122cf6161e191d0eb85003790dc6c95
tree54f761526c4a1ce0e523cefdf51d95c1313d5acc
parent2002c638b41ba508da46e0fc7083106c279627d0
tmf: Add a ITmfStateSystem.waitUntilBuilt() method with timeout

This allows callers to "unblock" after a specified delay has elapsed.
Extremely simple to implement, as CountDownLatch already has a method
to do exactly this!

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