public class JDBCService extends Object implements net.openhft.chronicle.core.io.Closeable
Constructor and Description |
---|
JDBCService(@NotNull ChronicleQueue in,
ChronicleQueue out,
net.openhft.chronicle.core.util.ThrowingSupplier<Connection,SQLException> connectionSupplier) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
@NotNull net.openhft.chronicle.bytes.MethodReader |
createReader(JDBCResult result) |
@NotNull JDBCStatement |
createWriter() |
public JDBCService(@NotNull @NotNull ChronicleQueue in, ChronicleQueue out, net.openhft.chronicle.core.util.ThrowingSupplier<Connection,SQLException> connectionSupplier)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
@NotNull public @NotNull JDBCStatement createWriter()
@NotNull public @NotNull net.openhft.chronicle.bytes.MethodReader createReader(JDBCResult result)
Copyright © 2020. All rights reserved.