Object Volatility
Object volatility refers to the frequency with which a JADE object is updated. This, in turn, can be used to customize locking behavior and provide optimizations.
JADE defines the following three types of volatility.
-
Volatile, for objects that are regularly updated.
-
Stable, for objects that are infrequently updated.
-
Frozen, for objects that are almost never updated.
JADE objects are volatile, by default. Volatility can be specified at the JADE class level. There are also methods that enable you to alter and interrogate the volatility for individual JADE objects.
The Schema Inspector displays class and object volatility by default, which enables you to check whether objects and collections are set to stable or frozen without having to write code to determine the volatility state of an object or collection.