com.sapportals.portal.navigation

Class CacheConfigurator

java.lang.Object
  extended by com.sapportals.portal.navigation.CacheConfigurator

Deprecated. Replaced by { @link com.sap.portal.cache }

public class CacheConfigurator
extends Object


Nested Class Summary
static class CacheConfigurator.CacheConfiguratorPersistenceMode
          Deprecated. inner class that represents the different persistence modes of the navigation cache mechanism
 
Constructor Summary
CacheConfigurator(String cacheID)
          Deprecated.  
 
Method Summary
 String getCacheID()
          Deprecated. Return the cache ID field for this configurator
 int getLifeTime()
          Deprecated. Get the life time of the objects for this configuration
 int getNumberOfObjects()
          Deprecated. Get the allowed number of objects in this cache configuration
 CacheConfigurator.CacheConfiguratorPersistenceMode getPersistMode()
          Deprecated. Get the persistence mode of the cache - data base or memory
 boolean isCacheEnabled()
          Deprecated. Return the enabled field for this configurator
 void setCacheEnable(boolean enable)
          Deprecated. Sets the enabled filed for this configurator
 void setCacheID(String cacheID)
          Deprecated. Sets the cache ID filed for this configurator
 void setLifeTime(int lifeTime)
          Deprecated. Change the life time of the objects for this configuration
 void setNumberOfObjects(int numberOfObjects)
          Deprecated. Set the allowed number of objects in this cache configuration
 void setPersistMode(CacheConfigurator.CacheConfiguratorPersistenceMode persistMode)
          Deprecated. Sets the persistence mode of the cache - data base or memory
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheConfigurator

public CacheConfigurator(String cacheID)
Deprecated. 
Method Detail

isCacheEnabled

public boolean isCacheEnabled()
Deprecated. 
Return the enabled field for this configurator

Returns:
enabled field

setCacheEnable

public void setCacheEnable(boolean enable)
Deprecated. 
Sets the enabled filed for this configurator

Parameters:
enable - - the value to be set

getCacheID

public String getCacheID()
Deprecated. 
Return the cache ID field for this configurator

Returns:
cache ID

setCacheID

public void setCacheID(String cacheID)
Deprecated. 
Sets the cache ID filed for this configurator

Parameters:
cacheID -

setLifeTime

public void setLifeTime(int lifeTime)
Deprecated. 
Change the life time of the objects for this configuration

Parameters:
lifeTime - in minutes

getLifeTime

public int getLifeTime()
Deprecated. 
Get the life time of the objects for this configuration

Returns:
mm_lifeTime

setNumberOfObjects

public void setNumberOfObjects(int numberOfObjects)
Deprecated. 
Set the allowed number of objects in this cache configuration

Parameters:
numberOfObjects -

getNumberOfObjects

public int getNumberOfObjects()
Deprecated. 
Get the allowed number of objects in this cache configuration

Returns:
mm_numberOfObjects

setPersistMode

public void setPersistMode(CacheConfigurator.CacheConfiguratorPersistenceMode persistMode)
Deprecated. 
Sets the persistence mode of the cache - data base or memory

Parameters:
persistMode -

getPersistMode

public CacheConfigurator.CacheConfiguratorPersistenceMode getPersistMode()
Deprecated. 
Get the persistence mode of the cache - data base or memory


toString

public String toString()
Deprecated. 
Overrides:
toString in class Object
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/navigation/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice