Class BeanCacheDescriptor

  • All Implemented Interfaces:
    com.sun.enterprise.deployment.DescriptorConstants, Serializable

    public class BeanCacheDescriptor
    extends org.glassfish.deployment.common.Descriptor
    implements com.sun.enterprise.deployment.DescriptorConstants
    iAS specific DD Element (see the ias-ejb-jar_2_0.dtd for this element)
    Since:
    JDK 1.4
    Author:
    Ludo
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.glassfish.deployment.common.Descriptor

        DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
      • Fields inherited from interface com.sun.enterprise.deployment.DescriptorConstants

        CACHE_IDLE_TIMEOUT_DEFAULT, MAX_CACHE_SIZE_DEFAULT, MAX_POOL_SIZE_DEFAULT, MAX_WAIT_TIME_DEFAULT, POOL_IDLE_TIMEOUT_DEFAULT, POOL_RESIZE_QTY_DEFAULT, REFRESH_PERIOD_IN_SECONDS_DEFAULT, REMOVAL_TIMEOUT_DEFAULT, RESIZE_QUANTITY_DEFAULT, STEADY_POOL_SIZE_DEFAULT
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanCacheDescriptor()
      Default constructor.
    • Constructor Detail

      • BeanCacheDescriptor

        public BeanCacheDescriptor()
        Default constructor.
    • Method Detail

      • 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

        public Boolean 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

        public void setIsCacheOverflowAllowed​(Boolean isCacheOverflowAllowed)
        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

        public String getVictimSelectionPolicy()
        Getter for property victimSelectionPolicy.
        Returns:
        Value of property victimSelectionPolicy.
      • setVictimSelectionPolicy

        public void setVictimSelectionPolicy​(String victimSelectionPolicy)
        Setter for property victimSelectionPolicy.
        Parameters:
        victimSelectionPolicy - New value of property victimSelectionPolicy.