public class ClassCache extends Shutdown
| Modifier and Type | Field and Description |
|---|---|
protected HashMap |
classAttribs |
protected ClassMap |
classes
contains all cached objects.
|
protected HashMap<String,Class> |
classesByTableName |
protected IntMapsImage |
icons
conatains this local servers class and object icons load with the method loadIcons which is called in the
constructor.
|
protected PolicyHolder |
policyHolder |
protected ServerProperties |
properties |
PRIORITY_EARLIER, PRIORITY_EARLIEST, PRIORITY_LATER, PRIORITY_LATEST, PRIORITY_NORMAL| Constructor and Description |
|---|
ClassCache(DBConnectionPool conPool,
ServerProperties properties,
PolicyHolder policyHolder)
-----------------------------------
|
| Modifier and Type | Method and Description |
|---|---|
List |
getAllClasses()
DOCUMENT ME!
|
List |
getAllClasses(User u)
DOCUMENT ME!
|
Class |
getClass(int id)
DOCUMENT ME!
|
Class |
getClass(User u,
int id)
DOCUMENT ME!
|
Class |
getClassByTableName(String tableName)
DOCUMENT ME!
|
HashMap |
getClassHashMap()
DOCUMENT ME!
|
Class |
getClassNyTableName(User u,
String tableName)
DOCUMENT ME!
|
ServerProperties |
getProperties()
DOCUMENT ME!
|
protected void |
loadIcons(DBConnectionPool conPool)
DOCUMENT ME!
|
int |
size()
DOCUMENT ME!
|
addShutdown, addShutdown, createShutdown, internalShutdown, removeShutdownisDown, shutdownprotected ClassMap classes
protected HashMap classAttribs
protected PolicyHolder policyHolder
protected IntMapsImage icons
protected ServerProperties properties
public ClassCache(DBConnectionPool conPool, ServerProperties properties, PolicyHolder policyHolder) throws Throwable
conPool - DOCUMENT ME!properties - DOCUMENT ME!policyHolder - DOCUMENT ME!Throwable - DOCUMENT ME!public final int size()
public final Class getClass(int id)
id - DOCUMENT ME!public final Class getClassByTableName(String tableName) throws Exception
tableName - DOCUMENT ME!Exception - DOCUMENT ME!public final List getAllClasses()
public final Class getClass(User u, int id)
u - DOCUMENT ME!id - DOCUMENT ME!public final Class getClassNyTableName(User u, String tableName) throws Exception
u - DOCUMENT ME!tableName - DOCUMENT ME!Exception - DOCUMENT ME!public HashMap getClassHashMap()
public final List getAllClasses(User u)
u - DOCUMENT ME!protected final void loadIcons(DBConnectionPool conPool)
conPool - DOCUMENT ME!public ServerProperties getProperties()
Copyright © 2012–2026 cismet GmbH. All rights reserved.