Skip to content

Commit b146120

Browse files
committed
add back missing api call that should never have been removed
1 parent b0b7de7 commit b146120

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/com/danga/MemCached/SockIOPool.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,20 @@ public static SockIOPool getInstance() {
332332
*/
333333
public int getSocketTO() { return this.socketTO; }
334334

335+
/**
336+
* Sets the socket timeout for connect.
337+
*
338+
* @param socketConnectTO timeout in ms
339+
*/
340+
public void setSocketConnectTO( int socketConnectTO ) { this.socketConnectTO = socketConnectTO; }
341+
342+
/**
343+
* Returns the socket timeout for connect.
344+
*
345+
* @return timeout in ms
346+
*/
347+
public int getSocketConnectTO() { return this.socketConnectTO; }
348+
335349
/**
336350
* Sets the failover flag for the pool.
337351
*

0 commit comments

Comments
 (0)