-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.1.1.Final
-
None
-
False
-
False
-
Undefined
-
The discovery interface allows making calls to discovery with or without a timeout value:
ServicesQueue discover(ServiceType serviceType, FilterSpec filterSpec)
ServicesQueue discover(ServiceType serviceType, FilterSpec filterSpec, long timeout, TimeUnit timeUnit)
Also, calls to the ServicesQueue returned by a call to discovery can be made with or without specifying a timeout value:
ServiceURL takeService()
ServiceURL takeService(long timeout, TimeUnit timeUnit)
These two approaches to specifying timeout values are implemented in an inconsistent manner and don't do what is expected.