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 SummaryNested Classes Modifier and Type Interface Description static interfaceService.DirectoryService.Params- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.service.ServiceService.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type
 
- 
 - 
Method SummaryAll 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.Serviceexecute, execute, getMaxBarrierSize, getRequirements, isBarrier, isStart, isStreaming
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactorygetRequirements, getRequirementsByType
 
- 
 
- 
- 
- 
Field Detail- 
NAMEstatic final String NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamedefault String getName() Description copied from interface:Service.ServiceFactoryGet the name of this service.- Specified by:
- getNamein interface- Service.ServiceFactory
 
 - 
getTypedefault Service.Type getType() Description copied from interface:ServiceReturn theService.Typeof service call.
 - 
getSupportedTypesdefault Set<Service.Type> getSupportedTypes() Description copied from interface:Service.ServiceFactoryGet the execution modes that it supports.- Specified by:
- getSupportedTypesin interface- Service.ServiceFactory
 
 - 
describeParamsdefault Map describeParams() Description copied from interface:Service.ServiceFactoryReturn a description of any service call parameters.- Specified by:
- describeParamsin interface- Service.ServiceFactory
 
 - 
createServicedefault Service createService(boolean isStart, Map params) Description copied from interface:Service.ServiceFactoryCreate a Service call instance.- Specified by:
- createServicein interface- Service.ServiceFactory
- 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
 
 - 
executeCloseableIterator<String> execute(Service.ServiceCallContext ctx, Map params) List or describe any registered callable services.
 - 
closedefault void close() Description copied from interface:ServiceServices can implement cleanup/shutdown procedures here.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Service<I,String>
- Specified by:
- closein interface- Service.ServiceFactory
 
 
- 
 
-