public static class TinkerServiceRegistry.LambdaStartService<I,R> extends TinkerServiceRegistry.TinkerService<I,R>
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type
serviceFactory
Constructor and Description |
---|
LambdaStartService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory,
BiFunction<Service.ServiceCallContext,Map,Iterator<R>> lambda) |
Modifier and Type | Method and Description |
---|---|
CloseableIterator<R> |
execute(Service.ServiceCallContext ctx,
Map params)
Execute a Start service call.
|
Service.Type |
getType()
Return the
Service.Type of service call. |
addRequirements, getRequirements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, execute, execute, getMaxBarrierSize, isBarrier, isStart, isStreaming
public LambdaStartService(TinkerServiceRegistry.LambdaServiceFactory<I,R> factory, BiFunction<Service.ServiceCallContext,Map,Iterator<R>> lambda)
public Service.Type getType()
Service
Service.Type
of service call.public CloseableIterator<R> execute(Service.ServiceCallContext ctx, Map params)
Service
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.