public class InternalServiceWrapperBuilder<O> extends Object implements ServiceWrapper.Builder<O>
Modifier and Type | Method and Description |
---|---|
@NotNull InternalServiceWrapperBuilder<O> |
addInputPath(String inputPath) |
@NotNull InternalServiceWrapperBuilder<O> |
addServiceFunction(Function<O,Object> serviceFunctions) |
void |
closeQueues() |
boolean |
createdEventLoop() |
net.openhft.chronicle.core.threads.EventLoop |
eventLoop() |
void |
eventLoop(net.openhft.chronicle.core.threads.EventLoop eventLoop) |
@NotNull ServiceWrapper |
get() |
@NotNull List<Function<O,Object>> |
getServiceFunctions() |
@NotNull List<String> |
inputPath() |
@NotNull ChronicleQueue |
inputQueue() |
int |
inputSourceId() |
@NotNull InternalServiceWrapperBuilder<O> |
inputSourceId(int inputSourceId) |
<T> T |
inputWriter(Class<T> tClass) |
Class<O> |
outClass() |
@NotNull InternalServiceWrapperBuilder<O> |
outClass(Class<O> outClass) |
String |
outputPath() |
@NotNull InternalServiceWrapperBuilder<O> |
outputPath(String outputPath) |
@NotNull ChronicleQueue |
outputQueue() |
@NotNull net.openhft.chronicle.bytes.MethodReader |
outputReader(Object... impls) |
int |
outputSourceId() |
@NotNull InternalServiceWrapperBuilder<O> |
outputSourceId(int outputSourceId) |
net.openhft.chronicle.core.threads.HandlerPriority |
priority() |
@NotNull InternalServiceWrapperBuilder<O> |
priority(net.openhft.chronicle.core.threads.HandlerPriority priority) |
static <O> @NotNull InternalServiceWrapperBuilder<O> |
serviceBuilder(String inputPath,
String outputPath,
Class<O> outClass,
Function<O,Object> serviceFunction) |
@NotNull public static <O> @NotNull InternalServiceWrapperBuilder<O> serviceBuilder(String inputPath, String outputPath, Class<O> outClass, Function<O,Object> serviceFunction)
@NotNull public @NotNull List<String> inputPath()
inputPath
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> addInputPath(String inputPath)
addInputPath
in interface ServiceWrapper.Builder<O>
public Class<O> outClass()
outClass
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> outClass(Class<O> outClass)
outClass
in interface ServiceWrapper.Builder<O>
public String outputPath()
outputPath
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> outputPath(String outputPath)
outputPath
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull List<Function<O,Object>> getServiceFunctions()
getServiceFunctions
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> addServiceFunction(Function<O,Object> serviceFunctions)
addServiceFunction
in interface ServiceWrapper.Builder<O>
public net.openhft.chronicle.core.threads.EventLoop eventLoop()
eventLoop
in interface ServiceWrapper.Builder<O>
public boolean createdEventLoop()
createdEventLoop
in interface ServiceWrapper.Builder<O>
public void eventLoop(net.openhft.chronicle.core.threads.EventLoop eventLoop)
eventLoop
in interface ServiceWrapper.Builder<O>
public net.openhft.chronicle.core.threads.HandlerPriority priority()
priority
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> priority(net.openhft.chronicle.core.threads.HandlerPriority priority)
priority
in interface ServiceWrapper.Builder<O>
public int inputSourceId()
inputSourceId
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> inputSourceId(int inputSourceId)
inputSourceId
in interface ServiceWrapper.Builder<O>
public int outputSourceId()
outputSourceId
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull InternalServiceWrapperBuilder<O> outputSourceId(int outputSourceId)
outputSourceId
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull ServiceWrapper get()
get
in interface Supplier<ServiceWrapper>
get
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull ChronicleQueue inputQueue()
inputQueue
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull ChronicleQueue outputQueue()
outputQueue
in interface ServiceWrapper.Builder<O>
@NotNull public @NotNull net.openhft.chronicle.bytes.MethodReader outputReader(Object... impls)
outputReader
in interface ServiceWrapper.Builder<O>
@NotNull public <T> T inputWriter(Class<T> tClass)
inputWriter
in interface ServiceWrapper.Builder<O>
public void closeQueues()
closeQueues
in interface ServiceWrapper.Builder<O>
Copyright © 2021. All rights reserved.