|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface NonVolatile
This annotation is used for components that will be registered in the ComponentRegistry
,
that are resilient to changes in configuration. Examples are the ComponentRegistry
implementation used, which does not change regardless of the configuration. Components such as the LockManager
, though, should never be marked as @NonVolatile
since based on the configuration, different lock manager implementations may be selected. LockManager is, hence,
not resilient to changes in the configuration.
To sum up: A component is marked as NonVolatile when the component is not dependent on configuration changes that may
happen between create() and start(). This is legacy since from JBoss Cache because in Infinispan there's only start but
no create.
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |