This content has been marked as final. Show 2 replies
Is it currently possible to set a timeout on the getMetadata method per model? If not, I was thinking of a delegating translator that intercepts the getMetadata call, delegates it on a separate thread using an ExecutorService and then using Future.get(timeout) and Future.cancel(true) to enforce a timeout. I'm a little concerned about threading issues. Is this approach safe?