Interface Service.DirectoryService<I>
- 
- All Superinterfaces:
 AutoCloseable,Service<I,String>,Service.ServiceFactory
- All Known Implementing Classes:
 ServiceRegistry,TinkerServiceRegistry
public static interface Service.DirectoryService<I> extends Service<I,String>, Service.ServiceFactory
Meta-service to list and describe registered callable services. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceService.DirectoryService.Params- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()Services can implement cleanup/shutdown procedures here.default ServicecreateService(boolean isStart, Map params)Create a Service call instance.default MapdescribeParams()Return a description of any service call parameters.CloseableIterator<String>execute(Service.ServiceCallContext ctx, Map params)List or describe any registered callable services.default StringgetName()Get the name of this service.default Set<Service.Type>getSupportedTypes()Get the execution modes that it supports.default Service.TypegetType()Return theService.Typeof service call.- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
execute, execute, getMaxBarrierSize, getRequirements, isBarrier, isStart, isStreaming 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory
getRequirements, getRequirementsByType 
 - 
 
 - 
 
- 
- 
Field Detail
- 
NAME
static final String NAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getName
default String getName()
Description copied from interface:Service.ServiceFactoryGet the name of this service.- Specified by:
 getNamein interfaceService.ServiceFactory
 
- 
getType
default Service.Type getType()
Description copied from interface:ServiceReturn theService.Typeof service call. 
- 
getSupportedTypes
default Set<Service.Type> getSupportedTypes()
Description copied from interface:Service.ServiceFactoryGet the execution modes that it supports.- Specified by:
 getSupportedTypesin interfaceService.ServiceFactory
 
- 
describeParams
default Map describeParams()
Description copied from interface:Service.ServiceFactoryReturn a description of any service call parameters.- Specified by:
 describeParamsin interfaceService.ServiceFactory
 
- 
createService
default Service createService(boolean isStart, Map params)
Description copied from interface:Service.ServiceFactoryCreate a Service call instance.- Specified by:
 createServicein interfaceService.ServiceFactory- Parameters:
 isStart- true if the call is being used to start a traversalparams- the static params provided to service call (if any)- Returns:
 - the service call instance
 
 
- 
execute
CloseableIterator<String> execute(Service.ServiceCallContext ctx, Map params)
List or describe any registered callable services. 
- 
close
default void close()
Description copied from interface:ServiceServices can implement cleanup/shutdown procedures here.- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceService<I,String>- Specified by:
 closein interfaceService.ServiceFactory
 
 - 
 
 -