RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionCube.OnLowCapacity Event

Occurs when the multidimensional cache requires more memory than is allowed by the Capacity property.

Pascal
property OnLowCapacity: TCapacityErrorEvent;
C++
__property TCapacityErrorEvent OnLowCapacity;

Write an OnLowCapacity event handler to respond to ELowCapacityError exceptions. An OnLowCapacity event handler can change the value of Capacity or deactivate some of the dimensions in the dimension map in order to allow the cache to fit in the available memory. If the memory problem is handled by the OnLowCapacity event handler, change the Action parameter to eaContinue to allow the data store to continue building the cache. Otherwise, an ELowCapacityError exception will be raised. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!