com.sap.netweaver.bc.uwl.config
Class CacheSettings
java.lang.Object
com.sap.netweaver.bc.uwl.config.CacheSettings
- All Implemented Interfaces:
- Cloneable, Serializable
- public final class CacheSettings
- extends Object
- implements Serializable, Cloneable
Cache settings contains cache validity and refresh periods for an ItemType.
More information regarding CacheSettings is documented in the DTD documenation.
- See Also:
- Serialized Form
|
Constructor Summary |
CacheSettings(byte refreshTyp,
int refreshTim,
byte expiryTyp,
int expiryTim)
|
DEFAULT
public static final byte DEFAULT
- See Also:
- Constant Field Values
SESSION
public static final byte SESSION
- See Also:
- Constant Field Values
TIME
public static final byte TIME
- See Also:
- Constant Field Values
FINAL
public static final byte FINAL
- See Also:
- Constant Field Values
CacheSettings
public CacheSettings(byte refreshTyp,
int refreshTim,
byte expiryTyp,
int expiryTim)
sessionExpiry
public boolean sessionExpiry()
defaultExpiry
public boolean defaultExpiry()
finalExpiry
public boolean finalExpiry()
getExpiryTime
public int getExpiryTime()
- This method is of consequence only if
is TIME type.
- Returns:
- expiry time is in minutes.
getExpiryType
public byte getExpiryType()
sessionRefresh
public boolean sessionRefresh()
defaultRefresh
public boolean defaultRefresh()
getRefreshPeriod
public int getRefreshPeriod()
- This method is of consequence only if
is TIME type.
- Returns:
- expiry time is in minutes.
getRefreshType
public byte getRefreshType()
clone
public Object clone()
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
Copyright 2006 SAP AG Complete Copyright Notice