de.uplanet.lucy.server.usermanager.orgstructure
Class OrgStructureCache

java.lang.Object
  extended by de.uplanet.lucy.server.usermanager.orgstructure.OrgStructureCache
All Implemented Interfaces:
de.uplanet.lucy.server.events.IServerEventListener

@Scriptable
public final class OrgStructureCache
extends java.lang.Object
implements de.uplanet.lucy.server.events.IServerEventListener

Version:
$Revision: 81853 $

Method Summary
 int getCacheHitCount()
           
 int getCacheMissCount()
           
 int getClearCount()
           
static OrgStructureCache getInstance()
          Get the one and only OrgStructureCache instance.
 OrgStructure getOrgStructure(de.uplanet.jdbc.JdbcConnection p_conn)
          Get the organizational structure without deleted objects being included.
 boolean isStatisticsEnabled()
           
 void process(IServerEvent p_evt)
           
 void setStatisticsEnabled(boolean p_bStatisticsEnabled)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OrgStructureCache getInstance()
Get the one and only OrgStructureCache instance.

Returns:
The OrgStructureCache instance.

isStatisticsEnabled

public boolean isStatisticsEnabled()

setStatisticsEnabled

public void setStatisticsEnabled(boolean p_bStatisticsEnabled)

getCacheHitCount

public int getCacheHitCount()

getCacheMissCount

public int getCacheMissCount()

getClearCount

public int getClearCount()

getOrgStructure

public OrgStructure getOrgStructure(de.uplanet.jdbc.JdbcConnection p_conn)
Get the organizational structure without deleted objects being included.

Parameters:
p_conn - The database connection to be used.
Returns:
The organizational structure.

process

public void process(IServerEvent p_evt)
Specified by:
process in interface de.uplanet.lucy.server.events.IServerEventListener


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.