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