public class ServiceWrapperBuilder<O> extends Object implements Supplier<ServiceWrapper>
@NotNull public static <O> ServiceWrapperBuilder<O> serviceBuilder(String inputPath, String outputPath, Class<O> outClass, Function<O,Object> serviceFunction)
@NotNull public ServiceWrapperBuilder<O> addInputPath(String inputPath)
@NotNull public ServiceWrapperBuilder<O> outClass(Class<O> outClass)
public String outputPath()
@NotNull public ServiceWrapperBuilder<O> outputPath(String outputPath)
@NotNull public ServiceWrapperBuilder<O> addServiceFunction(Function<O,Object> serviceFunctions)
public net.openhft.chronicle.core.threads.EventLoop eventLoop()
public boolean createdEventLoop()
public void eventLoop(net.openhft.chronicle.core.threads.EventLoop eventLoop)
public net.openhft.chronicle.core.threads.HandlerPriority priority()
@NotNull public ServiceWrapperBuilder<O> priority(net.openhft.chronicle.core.threads.HandlerPriority priority)
public int inputSourceId()
@NotNull public ServiceWrapperBuilder<O> inputSourceId(int inputSourceId)
public int outputSourceId()
@NotNull public ServiceWrapperBuilder<O> outputSourceId(int outputSourceId)
@NotNull public ServiceWrapper get()
get
in interface Supplier<ServiceWrapper>
@NotNull public SingleChronicleQueue inputQueue()
@NotNull public SingleChronicleQueue outputQueue()
@NotNull public net.openhft.chronicle.bytes.MethodReader outputReader(Object... impls)
@NotNull public <T> T inputWriter(Class<T> tClass)
Copyright © 2018. All rights reserved.