public static interface Service.DirectoryService<I> extends Service<I,String>, Service.ServiceFactory
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Service.DirectoryService.Params | 
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type| Modifier and Type | Method and Description | 
|---|---|
| default void | close()Services can implement cleanup/shutdown procedures here. | 
| default Service | createService(boolean isStart,
             Map params)Create a Service call instance. | 
| default Map | describeParams()Return a description of any service call parameters. | 
| CloseableIterator<String> | execute(Service.ServiceCallContext ctx,
       Map params)List or describe any registered callable services. | 
| default String | getName()Get the name of this service. | 
| default Set<Service.Type> | getSupportedTypes()Get the execution modes that it supports. | 
| default Service.Type | getType()Return the  Service.Typeof service call. | 
execute, execute, getMaxBarrierSize, getRequirements, isBarrier, isStart, isStreaminggetRequirements, getRequirementsByTypestatic final String NAME
default String getName()
Service.ServiceFactorygetName in interface Service.ServiceFactorydefault Service.Type getType()
ServiceService.Type of service call.default Set<Service.Type> getSupportedTypes()
Service.ServiceFactorygetSupportedTypes in interface Service.ServiceFactorydefault Map describeParams()
Service.ServiceFactorydescribeParams in interface Service.ServiceFactorydefault Service createService(boolean isStart, Map params)
Service.ServiceFactorycreateService in interface Service.ServiceFactoryisStart - true if the call is being used to start a traversalparams - the static params provided to service call (if any)CloseableIterator<String> execute(Service.ServiceCallContext ctx, Map params)
default void close()
Serviceclose in interface AutoCloseableclose in interface Service<I,String>close in interface Service.ServiceFactoryCopyright © 2013–2022 Apache Software Foundation. All rights reserved.