|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscone.netobjects.InclusionCache
public class InclusionCache
caches all Inclusion objects.
use the static methods provided by this class to obtain Inclusion objects.
| Field Summary | |
|---|---|
protected static CacheTable |
cache
|
protected static java.lang.Object |
lock
|
| Constructor Summary | |
|---|---|
InclusionCache()
|
|
| Method Summary | |
|---|---|
static void |
clean()
|
protected static java.lang.String |
createKey(java.lang.String a,
java.lang.String b)
returns the hashkey for the two strings |
static Inclusion |
get(NetNode parent,
NetNode child)
get/create an Inclusion which is defined in parent and includes child |
static Inclusion |
getById(java.lang.String id)
returns the inclusion specified by the id |
static java.util.Vector |
getIncludedObjects(NetNode from)
Returns all inclusion objekts of a NetNode |
static java.util.Vector |
getInclusions(java.lang.String sqlClause)
This method returns a Vector of Inclusions to a given query string |
static void |
init(int timeTillCleanUp,
int gcType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static CacheTable cache
protected static java.lang.Object lock
| Constructor Detail |
|---|
public InclusionCache()
| Method Detail |
|---|
public static void init(int timeTillCleanUp,
int gcType)
public static Inclusion get(NetNode parent,
NetNode child)
parent - the parent nodechild - the child node
public static Inclusion getById(java.lang.String id)
id - the id
public static java.util.Vector getIncludedObjects(NetNode from)
from - the NetNode
public static java.util.Vector getInclusions(java.lang.String sqlClause)
sqlClause - The where clause for the query string.
protected static java.lang.String createKey(java.lang.String a,
java.lang.String b)
public static void clean()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||