FileDocCategorySizeDatePackage
BeanCacheDescriptor.javaAPI DocGlassfish v2 API6995Fri May 04 22:31:50 BST 2007com.sun.enterprise.deployment.runtime

BeanCacheDescriptor

public class BeanCacheDescriptor extends com.sun.enterprise.deployment.Descriptor implements com.sun.enterprise.deployment.DescriptorConstants
iAS specific DD Element (see the ias-ejb-jar_2_0.dtd for this element)
author
Ludo
since
JDK 1.4

Fields Summary
private Boolean
isCacheOverflowAllowed
private String
victimSelectionPolicy
private int
maxCacheSize
private int
resizeQuantity
private int
cacheIdleTimeoutInSeconds
private int
removalTimeoutInSeconds
Constructors Summary
public BeanCacheDescriptor()
Default constructor.

 
        
           
	  
	
Methods Summary
public intgetCacheIdleTimeoutInSeconds()
Getter for property cacheIdleTimeoutInSeconds.

return
Value of property cacheIdleTimeoutInSeconds.

            return cacheIdleTimeoutInSeconds;
        
public intgetMaxCacheSize()
Getter for property maxCacheSize.

return
Value of property maxCacheSize.

            return maxCacheSize;
        
public intgetRemovalTimeoutInSeconds()
Getter for property removalTimeoutInSeconds.

return
Value of property removalTimeoutInSeconds.

            return removalTimeoutInSeconds;
        
public intgetResizeQuantity()
Getter for property resizeQuantity.

return
Value of property resizeQuantity.

            return resizeQuantity;
        
public java.lang.StringgetVictimSelectionPolicy()
Getter for property victimSelectionPolicy.

return
Value of property victimSelectionPolicy.

            return victimSelectionPolicy;
        
public java.lang.BooleanisIsCacheOverflowAllowed()
Getter for property isCacheOverflowAllowed.

return
Value of property isCacheOverflowAllowed.

            return isCacheOverflowAllowed;
        
public voidsetCacheIdleTimeoutInSeconds(int cacheIdleTimeoutInSeconds)
Setter for property cacheIdleTimeoutInSeconds.

param
cacheIdleTimeoutInSeconds New value of property cacheIdleTimeoutInSeconds.

            this.cacheIdleTimeoutInSeconds = cacheIdleTimeoutInSeconds;
        
public voidsetIsCacheOverflowAllowed(boolean isCacheOverflowAllowed)
Setter for property isCacheOverflowAllowed.

param
isCacheOverflowAllowed New value of property isCacheOverflowAllowed.

            this.isCacheOverflowAllowed =  Boolean.valueOf(isCacheOverflowAllowed);
        
public voidsetIsCacheOverflowAllowed(java.lang.Boolean isCacheOverflowAllowed)
Setter for property isCacheOverflowAllowed.

param
isCacheOverflowAllowed New value of property isCacheOverflowAllowed.

            this.isCacheOverflowAllowed =  isCacheOverflowAllowed;
        
public voidsetMaxCacheSize(int maxCacheSize)
Setter for property maxCacheSize.

param
maxCacheSize New value of property maxCacheSize.

            this.maxCacheSize = maxCacheSize;
        
public voidsetRemovalTimeoutInSeconds(int removalTimeoutInSeconds)
Setter for property removalTimeoutInSeconds.

param
removalTimeoutInSeconds New value of property removalTimeoutInSeconds.

            this.removalTimeoutInSeconds = removalTimeoutInSeconds;
        
public voidsetResizeQuantity(int resizeQty)
Setter for property resizeQuantity.

param
resizeQuantity New value of property resizeQuantity.

            this.resizeQuantity = resizeQty;
        
public voidsetVictimSelectionPolicy(java.lang.String victimSelectionPolicy)
Setter for property victimSelectionPolicy.

param
victimSelectionPolicy New value of property victimSelectionPolicy.

            this.victimSelectionPolicy = victimSelectionPolicy;