Package arez.persist
Class StoreTypes
java.lang.Object
arez.persist.StoreTypes
A class containing constants for persistence stores supplied by the library.
Other persistence stores are possible but must be explicitly registered by the
developer.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
APPLICATION
The property is persisted in memory and will be lost when the application is reloaded. This persist strategy is only available whenArezPersist.isApplicationStoreEnabled()returnstrue.- See Also:
-
SESSION
The property is persisted across the session. i.e. The value of the property will be persisted across reloads within the same tab. This persist strategy is only available whenArezPersistBrowserUtil.registerSessionStore(String)has been invoked.- See Also:
-
LOCAL
The property is persisted when using the same browser. i.e. The value of the property will be persisted across reloads within the same browser. If multiple browsers are open and concurrently persisting storage then they may overwrite each other and the last value persisted "wins". This persist strategy is only available whenArezPersistBrowserUtil.registerLocalStore(String)has been invoked.- See Also:
-