Package com.firebolt.jdbc.connection
Class ConnectionIdGenerator
java.lang.Object
com.firebolt.jdbc.connection.ConnectionIdGenerator
Generates a new id for each connection. It will be a singleton since we only need one instance for all the connections.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConnectionIdGenerator
public ConnectionIdGenerator()
-
-
Method Details
-
getInstance
-
generateId
Will generate a new id. Randomly generate twelve chars (numbers and letters) string as a connection id- Returns:
-