[teiid-issues] [JBoss JIRA] (TEIID-3852) Teiid JDBC Driver SocketPing can not disable

Steven Hawkins (JIRA) issues at jboss.org
Tue Jan 26 10:49:00 EST 2016


     [ https://issues.jboss.org/browse/TEIID-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins closed TEIID-3852.
---------------------------------


> Teiid JDBC Driver SocketPing can not disable
> --------------------------------------------
>
>                 Key: TEIID-3852
>                 URL: https://issues.jboss.org/browse/TEIID-3852
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: JDBC Driver
>    Affects Versions: 9.x
>            Reporter: Kylin Soong
>            Assignee: Kylin Soong
>
> Today I debug client code have found that JDBC Driver SocketPing can not be disabled, there are some logic hints SocketPing should be configurable, but it seems not completed, some logic snippets in _org.teiid.net.socket.SocketServerConnectionFactory_:
> {code}
> private boolean disablePing;
> public void setDisablePing(boolean disable) {
> 	this.disablePing = disable;
> }
> public void initialize(Properties info){
> ...
> if (disablePing){
>     return;
> }
> this.pingTimer = new Timer("SocketPing", true);
> this.pingTimer.schedule(new TimerTask());
> }
> {code}
> Note that, even the setDisablePing() exist, but it never be invoked, so I think whether we can add some logic that let JDBC Driver has ability to disable SocketPing?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list