From: Tony Tkacik Date: Tue, 5 May 2015 11:57:57 +0000 (+0200) Subject: BUG 3067: Added support for blocking if schema is not available. X-Git-Tag: release/beryllium~497 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=8293635baf4ff10b01ab2bf2b6336d67714e94f0;hp=8293635baf4ff10b01ab2bf2b6336d67714e94f0;p=controller.git BUG 3067: Added support for blocking if schema is not available. Codecs are able to send specific exception, which describes reason of failure for codec failing. If the reason is missing schema (not yet loaded) we catch it and retry serialization after schema context is upgraded. User thread will be blocked maximally for 5 seconds after that it will be unblocked. Change-Id: I3494702eae644b495211a1a34c074e268c2f5f46 Signed-off-by: Tony Tkacik (cherry picked from commit 6aba3ef282f86a84920fa5a7ccf21c91d459806b) ---