Class: com.sybase.djc.ant.CacheResultProperty (Cache Result Property) EAServer 6.3 Help
Description This property is used to configure caching of results from component business methods.
Configuration Example:
<setProperties component="ejb.components.example.MyCompRemote">
  <cacheResult method="getProductInfo(java.lang.Integer)" cacheTimeout="60"/>
  ...
</setProperties>
Nested Properties cacheSize, cacheTimeout, dataSource, method, tableVersion

Property: cacheSize (Cache Size)
Description The maximum number of results that will be held in cache. To avoid overflow, rows are removed from cache using a least-recently-used (LRU) discard strategy.
Default Value 1000
Minimum Value 0
Maximum Value 2147483647

Property: cacheTimeout (Cache Timeout)
Description The maximum number of seconds that a result stored in cache will be considered valid. This property should not be used to attempt to control the cache size, because invalid results are only discarded from cache when an attempt is made to access them. A value of zero is interpreted as an infinite timeout.
Default Value 0
Minimum Value 0
Maximum Value 2147483647

Property: dataSource (Data Source)
Description Name of the data source for the database in which the tableVersion is lcoated.

Property: method (Method)
Description Name and signature of method for method-specific application of this property, e.g. "myMethod(int, java.lang.String)". The selected method must have a non-void return type.

If the method property is omitted, all "non-void" methods of the component will be cached.

Property: tableVersion (Table Version)
Description The name of a version table and version column (e.g. "ref_tv.version") representing a single row which holds a version number that is incremented by the database server (e.g. using a database trigger) whenever any row is deleted, inserted or updated in any of the database tables referenced by the cached business method.