public class JDBCService
extends net.openhft.chronicle.core.io.AbstractCloseable
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 |
---|---|
@NotNull net.openhft.chronicle.bytes.MethodReader |
createReader(JDBCResult result) |
@NotNull JDBCStatement |
createWriter() |
protected void |
performClose() |
assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, enableCloseableTracing, isClosed, isClosing, isInUserThread, performCloseInBackground, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, threadSafetyCheck, throwExceptionIfClosed, throwExceptionIfClosedInSetter, toString, unmonitor, waitForClosed, warnAndCloseIfNotClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, closeQuietly, closeQuietly, notifyClosing
public JDBCService(@NotNull @NotNull ChronicleQueue in, ChronicleQueue out, net.openhft.chronicle.core.util.ThrowingSupplier<Connection,SQLException> connectionSupplier)
protected void performClose()
performClose
in class net.openhft.chronicle.core.io.AbstractCloseable
@NotNull public @NotNull JDBCStatement createWriter()
@NotNull public @NotNull net.openhft.chronicle.bytes.MethodReader createReader(JDBCResult result)
Copyright © 2020. All rights reserved.