Class BlockingServiceLookup<C,​F>

  • All Implemented Interfaces:
    ServiceLookup<C,​F>

    public class BlockingServiceLookup<C,​F>
    extends java.lang.Object
    implements ServiceLookup<C,​F>
    Used to ensure that during startup a service can be fetched even if it is not yet available.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T lookup​(C criteria, F filter)  
      void setWaitTimeMs​(long waitTimeMs)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockingServiceLookup

        protected BlockingServiceLookup​(ServiceLookup<C,​F> delegate)
    • Method Detail

      • lookup

        public <T> T lookup​(C criteria,
                            F filter)
        Specified by:
        lookup in interface ServiceLookup<C,​F>
      • setWaitTimeMs

        public void setWaitTimeMs​(long waitTimeMs)