public class ConnectOptionsProperties extends SyncEventMap<String,String> implements ConnectOptions
synceventQueue, listeners| Constructor and Description |
|---|
ConnectOptionsProperties() |
ConnectOptionsProperties(Map<String,String> wrappedMap) |
ConnectOptionsProperties(Map<String,String> wrappedMap,
Object lock) |
| Modifier and Type | Method and Description |
|---|---|
long |
getIdleTimeout()
Время (мс) простоя до закрытия соединения
|
long |
getStatementIdleTimeout()
Указывает время (мс) простоя запроса
|
boolean |
isCollectActivityStat()
Собирать статистику активности
|
boolean |
isProxyConnection()
Создавать прокси соединение
|
void |
setCollectActivityStat(boolean v) |
void |
setIdleTimeout(long ms)
Время (мс) простоя до закрытия соединения
|
void |
setProxyConnection(boolean v) |
void |
setStatementIdleTimeout(long ms) |
getSync, lockRun, lockRunaddEventMapListener, addEventMapListener, addEventToQueue, clear, containsEventMapListener, containsKey, containsValue, createDeleted, createInserted, createUpdated, entrySet, fireDeleted, fireEvent, fireInserted, fireQueueEvents, fireUpdated, get, getListenersHelper, getListenersLock, getWrappedMap, isEmpty, keySet, listenObjectChanged, onChanged, onChanged, onDeleted, onDeleted, onInserted, onInserted, onUpdated, onUpdated, put, putAll, remove, removeEventMapListener, sendNewListOnNewWrapperMap, setWrappedMap, size, valuesequalsclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic boolean isProxyConnection()
ConnectOptionsisProxyConnection in interface ConnectOptionspublic void setProxyConnection(boolean v)
public boolean isCollectActivityStat()
ConnectOptionsisCollectActivityStat in interface ConnectOptionspublic void setCollectActivityStat(boolean v)
public long getIdleTimeout()
getIdleTimeout in interface ConnectOptionspublic void setIdleTimeout(long ms)
ms - время простоя до закрытия соединения или -1public long getStatementIdleTimeout()
getStatementIdleTimeout in interface ConnectOptionspublic void setStatementIdleTimeout(long ms)
Copyright © 2018. All rights reserved.