Interface Service.ServiceFactory<I,​R>

    • Method Detail

      • getName

        String getName()
        Get the name of this service.
      • getSupportedTypes

        Set<Service.Type> getSupportedTypes()
        Get the execution modes that it supports.
      • describeParams

        default Map describeParams()
        Return a description of any service call parameters.
      • createService

        Service<I,​R> createService​(boolean isStart,
                                         Map params)
        Create a Service call instance.
        Parameters:
        isStart - true if the call is being used to start a traversal
        params - the static params provided to service call (if any)
        Returns:
        the service call instance
      • close

        default void close()
        Service factories can implement cleanup/shutdown procedures here.
        Specified by:
        close in interface AutoCloseable