Class BeanCacheDescriptor
java.lang.Object
java.util.Observable
org.glassfish.deployment.common.DynamicAttributesDescriptor
org.glassfish.deployment.common.Descriptor
org.glassfish.ejb.deployment.descriptor.runtime.BeanCacheDescriptor
- All Implemented Interfaces:
Serializable
public class BeanCacheDescriptor
extends org.glassfish.deployment.common.Descriptor
iAS specific DD Element (see the ias-ejb-jar_2_0.dtd for this element)
- Since:
- JDK 1.4
- Author:
- Ludo
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGetter for property cacheIdleTimeoutInSeconds.intGetter for property maxCacheSize.intGetter for property removalTimeoutInSeconds.intGetter for property resizeQuantity.Getter for property victimSelectionPolicy.Getter for property isCacheOverflowAllowed.voidsetCacheIdleTimeoutInSeconds(int cacheIdleTimeoutInSeconds) Setter for property cacheIdleTimeoutInSeconds.voidsetIsCacheOverflowAllowed(boolean isCacheOverflowAllowed) Setter for property isCacheOverflowAllowed.voidsetIsCacheOverflowAllowed(Boolean isCacheOverflowAllowed) Setter for property isCacheOverflowAllowed.voidsetMaxCacheSize(int maxCacheSize) Setter for property maxCacheSize.voidsetRemovalTimeoutInSeconds(int removalTimeoutInSeconds) Setter for property removalTimeoutInSeconds.voidsetResizeQuantity(int resizeQty) Setter for property resizeQuantity.voidsetVictimSelectionPolicy(String victimSelectionPolicy) Setter for property victimSelectionPolicy.Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitMethods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
BeanCacheDescriptor
public BeanCacheDescriptor()Default constructor.
-
-
Method Details
-
getCacheIdleTimeoutInSeconds
public int getCacheIdleTimeoutInSeconds()Getter for property cacheIdleTimeoutInSeconds.- Returns:
- Value of property cacheIdleTimeoutInSeconds.
-
setCacheIdleTimeoutInSeconds
public void setCacheIdleTimeoutInSeconds(int cacheIdleTimeoutInSeconds) Setter for property cacheIdleTimeoutInSeconds.- Parameters:
cacheIdleTimeoutInSeconds- New value of property cacheIdleTimeoutInSeconds.
-
isIsCacheOverflowAllowed
Getter for property isCacheOverflowAllowed.- Returns:
- Value of property isCacheOverflowAllowed.
-
setIsCacheOverflowAllowed
public void setIsCacheOverflowAllowed(boolean isCacheOverflowAllowed) Setter for property isCacheOverflowAllowed.- Parameters:
isCacheOverflowAllowed- New value of property isCacheOverflowAllowed.
-
setIsCacheOverflowAllowed
Setter for property isCacheOverflowAllowed.- Parameters:
isCacheOverflowAllowed- New value of property isCacheOverflowAllowed.
-
getMaxCacheSize
public int getMaxCacheSize()Getter for property maxCacheSize.- Returns:
- Value of property maxCacheSize.
-
setMaxCacheSize
public void setMaxCacheSize(int maxCacheSize) Setter for property maxCacheSize.- Parameters:
maxCacheSize- New value of property maxCacheSize.
-
getResizeQuantity
public int getResizeQuantity()Getter for property resizeQuantity.- Returns:
- Value of property resizeQuantity.
-
setResizeQuantity
public void setResizeQuantity(int resizeQty) Setter for property resizeQuantity.- Parameters:
resizeQty- New value of property resizeQuantity.
-
getRemovalTimeoutInSeconds
public int getRemovalTimeoutInSeconds()Getter for property removalTimeoutInSeconds.- Returns:
- Value of property removalTimeoutInSeconds.
-
setRemovalTimeoutInSeconds
public void setRemovalTimeoutInSeconds(int removalTimeoutInSeconds) Setter for property removalTimeoutInSeconds.- Parameters:
removalTimeoutInSeconds- New value of property removalTimeoutInSeconds.
-
getVictimSelectionPolicy
Getter for property victimSelectionPolicy.- Returns:
- Value of property victimSelectionPolicy.
-
setVictimSelectionPolicy
Setter for property victimSelectionPolicy.- Parameters:
victimSelectionPolicy- New value of property victimSelectionPolicy.
-