Understanding the Kanji 0.1.5
A tool for understanding the meaning behind the Japanese Kanji characters.
Loading...
Searching...
No Matches
net.samuelcmace.utk.logic.DBConnectionPool Class Reference

Singleton to manage program-wide database connections. More...

Collaboration diagram for net.samuelcmace.utk.logic.DBConnectionPool:
Collaboration graph

Static Public Member Functions

static DBConnectionPool GetInstance () throws Exception
 Retrieves the singleton instance of DBConnectionPool.
 

Public Attributes

int ActivePrimaryKey
 The active primary key shared between the two database connections.
 
DatabaseReadConnection KanjiSearchConnection
 The DatabaseConnection object that deals with reading data from the database.
 
DatabaseWriteConnection KanjiEditorConnection
 The DatabaseConnection object that deals with writing data to the database.
 

Private Member Functions

 DBConnectionPool () throws Exception
 Initializes a new instance of DBConnectionPool.
 

Static Private Attributes

static DBConnectionPool instance = null
 The singleton instance of DBConnectionPool.
 

Detailed Description

Singleton to manage program-wide database connections.

Member Function Documentation

◆ GetInstance()

static DBConnectionPool net.samuelcmace.utk.logic.DBConnectionPool.GetInstance ( ) throws Exception
static

Retrieves the singleton instance of DBConnectionPool.

Returns
The singleton instance of DBConnectionPool.

The documentation for this class was generated from the following file: