The following are the values of the Cache.Visibility enum.
Value | Description |
---|---|
ALL | The cached value is available to Apex code executing from any namespace. This is the default state. |
NAMESPACE |
The cached value is available to Apex code executing from the same namespace. If a key has the Visibility.NAMESPACE attribute, a get method initiated from a different namespace returns null. |