Click or drag to resize
IPersistenceManagerTKey, TValue Interface
IPersistenceManager interface for persistence and overflow. This class abstracts the disk-related operations in case of persistence or overflow to disk. A specific disk storage implementation will implement all the methods described here.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public interface IPersistenceManager<TKey, TValue>

Type Parameters

TKey
TValue

The IPersistenceManagerTKey, TValue type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the persistence manager instance.
Public methodDestroy
Destroys the entry specified by the key in the argument.
Public methodInit
Public methodRead
Reads the value for the key from the disk.
Public methodReadAll
Reads all the values from the region.
Public methodWrite
Writes a key, value pair of region to the disk. The actual file or database related write operations should be implemented in this method by the class implementing this method.
Public methodWriteAll
Writes all the entries for a region. Refer persistance requirement doc for the use case.
Top
See Also