Top Description Constructors Methods
org.newsclub.net.mysql

pack-priv final Class MysqlHelper

extends Object
Class Inheritance

Code sharable between code in junixsocket-mysql.
Author
Christian Kohlschütter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static int

Returns:

The shorter timeout.
shorterTimeout
(int
The first timeout.
a
,
int
The second timeout.
b
)

Returns the shorter timeout of two given timeouts (assuming 0 means "unlimited").

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MysqlHelperback to summary
private MysqlHelper()

Method Detail

shorterTimeoutback to summary
pack-priv static int shorterTimeout(int a, int b)

Returns the shorter timeout of two given timeouts (assuming 0 means "unlimited").

Parameters
a:int

The first timeout.

b:int

The second timeout.

Returns:int

The shorter timeout.