com.sun.enterprise.deployment.runtime
Class BeanCacheDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.runtime.BeanCacheDescriptor
All Implemented Interfaces:
DescriptorConstants, java.io.Serializable

public class BeanCacheDescriptor
extends Descriptor
implements 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 com.sun.enterprise.deployment.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
BeanCacheDescriptor()
          Default constructor.
 
Method Summary
 int getCacheIdleTimeoutInSeconds()
          Getter for property cacheIdleTimeoutInSeconds.
 int getMaxCacheSize()
          Getter for property maxCacheSize.
 int getRemovalTimeoutInSeconds()
          Getter for property removalTimeoutInSeconds.
 int getResizeQuantity()
          Getter for property resizeQuantity.
 java.lang.String getVictimSelectionPolicy()
          Getter for property victimSelectionPolicy.
 java.lang.Boolean isIsCacheOverflowAllowed()
          Getter for property isCacheOverflowAllowed.
 void setCacheIdleTimeoutInSeconds(int cacheIdleTimeoutInSeconds)
          Setter for property cacheIdleTimeoutInSeconds.
 void setIsCacheOverflowAllowed(boolean isCacheOverflowAllowed)
          Setter for property isCacheOverflowAllowed.
 void setIsCacheOverflowAllowed(java.lang.Boolean isCacheOverflowAllowed)
          Setter for property isCacheOverflowAllowed.
 void setMaxCacheSize(int maxCacheSize)
          Setter for property maxCacheSize.
 void setRemovalTimeoutInSeconds(int removalTimeoutInSeconds)
          Setter for property removalTimeoutInSeconds.
 void setResizeQuantity(int resizeQty)
          Setter for property resizeQuantity.
 void setVictimSelectionPolicy(java.lang.String victimSelectionPolicy)
          Setter for property victimSelectionPolicy.
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 java.lang.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(java.lang.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:
resizeQuantity - 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 java.lang.String getVictimSelectionPolicy()
Getter for property victimSelectionPolicy.

Returns:
Value of property victimSelectionPolicy.

setVictimSelectionPolicy

public void setVictimSelectionPolicy(java.lang.String victimSelectionPolicy)
Setter for property victimSelectionPolicy.

Parameters:
victimSelectionPolicy - New value of property victimSelectionPolicy.


Copyright © 2012 GlassFish Community. All Rights Reserved.