Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > getObjectVolatility

getObjectVolatility

getObjectVolatility(object: Object): Integer;

The getObjectVolatility method of the Object class returns the volatility state of the persistent object specified in the object parameter. For details, see "Cache Concurrency", in Chapter 6 of the JADE Developer’s Reference.

Use the getObjectVolatility method to determine the volatility state of a persistent object. (All transient objects are considered volatile.)

This method returns the volatility state of the object, represented by one of the following global constants in the ObjectVolatility category.

Global Constant Integer Value Description
Volatility_Frozen #04 Object is frozen (that is, it is not updated)
Volatility_Stable #08 Object is stable (that is, it is updated infrequently)
Volatility_Volatile #00 Object is volatile (that is, it is updated often)