[id='cache_stores']
:context: persistence
= {brandname} Cache Stores
Cache stores connect {brandname} to persistent data sources and implement the
following interfaces:

`org.infinispan.persistence.spi.CacheLoader`::
Allows {brandname} to load data from persistent storage.
`org.infinispan.persistence.spi.CacheWriter`::
Allows {brandname} to persist data to persistent storage.

include::{topics}/proc_configuring_cache_stores.adoc[leveloffset=+1]
include::{topics}/proc_setting_persistent_location.adoc[leveloffset=+1]
include::{topics}/con_passivation.adoc[leveloffset=+1]
include::{topics}/ref_passivation_behavior.adoc[leveloffset=+2]
include::{topics}/con_cache_loaders_transactional.adoc[leveloffset=+1]
include::{topics}/con_segmented_cache_stores.adoc[leveloffset=+1]
include::{topics}/con_filesystem_cache_stores.adoc[leveloffset=+1]
include::{topics}/con_write_through.adoc[leveloffset=+1]
include::{topics}/con_write_behind.adoc[leveloffset=+1]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
