Class RepositoryFederatedService.FallbackServiceIteration

    • Field Detail

      • service

        private final Service service
      • allBindings

        private final java.util.List<BindingSet> allBindings
      • baseUri

        private final java.lang.String baseUri
    • Constructor Detail

      • FallbackServiceIteration

        public FallbackServiceIteration​(Service service,
                                        java.util.List<BindingSet> allBindings,
                                        java.lang.String baseUri)
    • Method Detail

      • handleBindings

        protected void handleBindings()
                               throws java.lang.Exception
        Description copied from class: JoinExecutorBase
        Implementations must implement this method to handle bindings. Use the following as a template while (!closed && leftIter.hasNext()) { // your code } and add results to rightQueue. Note that addResult() is implemented synchronized and thus thread safe. In case you can guarantee sequential access, it is also possible to directly access rightQueue
        Specified by:
        handleBindings in class JoinExecutorBase<BindingSet>
        Throws:
        java.lang.Exception