For now, it has two actions:
| Modifier and Type | Field and Description |
|---|---|
| private @Nullable Timer | cancelTimer
Timer for scheduling TimerTasks for the connection. |
| private final ResourceLock | |
| private static final Logger | |
| private @Nullable Throwable | |
| private final Closeable |
| Access | Constructor and Description |
|---|---|
| pack-priv | PgConnectionCleaningAction(ResourceLock lock, @Nullable Throwable openStackTrace, Closeable queryExecutorCloseAction)
|
| Modifier and Type | Method and Description |
|---|---|
| public Timer | |
| public void | |
| public void | |
| public void |
| cancelTimer | back to summary |
|---|---|
| private @Nullable Timer cancelTimer Timer for scheduling TimerTasks for the connection.
Only instantiated if a task is actually scheduled.
Access should be guarded with | |
| lock | back to summary |
|---|---|
| private final ResourceLock lock | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| openStackTrace | back to summary |
|---|---|
| private @Nullable Throwable openStackTrace | |
| queryExecutorCloseAction | back to summary |
|---|---|
| private final Closeable queryExecutorCloseAction | |
| PgConnectionCleaningAction | back to summary |
|---|---|
| pack-priv PgConnectionCleaningAction(ResourceLock lock, @Nullable Throwable openStackTrace, Closeable queryExecutorCloseAction) | |
| getTimer | back to summary |
|---|---|
| public Timer getTimer() | |
| onClean | back to summary |
|---|---|
| public void onClean(boolean leak) throws IOException Implements org.
| |
| purgeTimerTasks | back to summary |
|---|---|
| public void purgeTimerTasks() | |
| releaseTimer | back to summary |
|---|---|
| public void releaseTimer() | |