Package tilda.db
Class KeysManager
- java.lang.Object
-
- tilda.db.KeysManager
-
public class KeysManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
_KEYS_POOL
protected static java.util.Map<java.lang.String,Key_Data>
_M
protected static org.apache.logging.log4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description KeysManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getKey(java.lang.String ObjectName)
static boolean
hasKey(java.lang.String ObjectName)
protected static void
init(boolean reinit)
static void
reloadAll()
protected static void
retryKeyInit(java.lang.String objectName)
-
-
-
Field Detail
-
LOG
protected static final org.apache.logging.log4j.Logger LOG
-
_M
protected static java.util.Map<java.lang.String,Key_Data> _M
-
_KEYS_POOL
protected static final java.lang.String _KEYS_POOL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
public static long getKey(java.lang.String ObjectName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
hasKey
public static boolean hasKey(java.lang.String ObjectName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
reloadAll
public static void reloadAll() throws java.lang.Exception
- Throws:
java.lang.Exception
-
init
protected static void init(boolean reinit) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
retryKeyInit
protected static void retryKeyInit(java.lang.String objectName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-