public static class TinkerServiceRegistry.LambdaBarrierService<I,R> extends TinkerServiceRegistry.TinkerService<I,R>
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.TypeserviceFactory| Constructor and Description | 
|---|
| LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory,
                    TriFunction<Service.ServiceCallContext,TraverserSet<I>,Map,Iterator<R>> lambda) | 
| LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory,
                    TriFunction<Service.ServiceCallContext,TraverserSet<I>,Map,Iterator<R>> lambda,
                    int maxChunkSize) | 
| Modifier and Type | Method and Description | 
|---|---|
| TinkerServiceRegistry.LambdaBarrierService | clone(int maxChunkSize) | 
| CloseableIterator<R> | execute(Service.ServiceCallContext ctx,
       TraverserSet<I> in,
       Map params)Execute a Barrier service call with all upstream input. | 
| int | getMaxBarrierSize()Return the max barrier size. | 
| Service.Type | getType()Return the  Service.Typeof service call. | 
addRequirements, getRequirementspublic LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory, TriFunction<Service.ServiceCallContext,TraverserSet<I>,Map,Iterator<R>> lambda)
public LambdaBarrierService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory, TriFunction<Service.ServiceCallContext,TraverserSet<I>,Map,Iterator<R>> lambda, int maxChunkSize)
public TinkerServiceRegistry.LambdaBarrierService clone(int maxChunkSize)
public Service.Type getType()
ServiceService.Type of service call.public int getMaxBarrierSize()
Servicepublic CloseableIterator<R> execute(Service.ServiceCallContext ctx, TraverserSet<I> in, Map params)
ServiceCopyright © 2013–2022 Apache Software Foundation. All rights reserved.