Modes

GridCache operates in one of the following modes:

Local  This mode lets you cache data locally by putting elements into the cache. This mode does not synchronize clients that are accessing local cache regions with the same name. This is similar to having a local hashtable with LRU and eviction based on time-to-live from creation time.
Local with loader  This mode lets you load data into the local cache using a loader specified at create time. Puts (cache writes) are not allowed in this mode. Users can manually synchronize clients’ local caches using clear and invalidate methods.
Global  Data that users put into the cache is then available globally. Full automatic synchronization occurs in this mode. All components have access to a synchronized view of all entries.
Global with loader  Users can use a global loader to load data into the cache. Full automatic synchronization occurs in this mode.