public static class TinkerServiceRegistry.LambdaBarrierService<I,R> extends TinkerServiceRegistry.TinkerService<I,R>
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type
serviceFactory
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.Type of service call. |
addRequirements, getRequirements
public 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()
Service
Service.Type
of service call.public int getMaxBarrierSize()
Service
public CloseableIterator<R> execute(Service.ServiceCallContext ctx, TraverserSet<I> in, Map params)
Service
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.