public class QueryExecutorCloseAction
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
private static java.util.logging.Logger |
LOGGER |
private static java.util.concurrent.atomic.AtomicReferenceFieldUpdater<QueryExecutorCloseAction,PGStream> |
PG_STREAM_UPDATER |
private PGStream |
pgStream |
| Constructor and Description |
|---|
QueryExecutorCloseAction(PGStream pgStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
close() |
boolean |
isClosed() |
void |
sendCloseMessage(PGStream pgStream) |
private static final java.util.logging.Logger LOGGER
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<QueryExecutorCloseAction,PGStream> PG_STREAM_UPDATER
private volatile PGStream pgStream
public QueryExecutorCloseAction(PGStream pgStream)
public boolean isClosed()
public void abort()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void sendCloseMessage(PGStream pgStream) throws java.io.IOException
java.io.IOException