DataPersistenceBuilder
The DataPersistenceBuilder
class is a builder class used in the Tarsave system for managing data save, load, and delete operations. The main goal of this class is to dynamically create a DataPersistenceService
instance by configuring various components (such as encryption, compression, streaming, serialization, etc.) required for data management operations.
The class takes in configuration data and properly combines components like encryption, compression, and serialization to ensure they work together. This makes it easier for developers to set up and integrate data management operations in the Tarsave system.
In the DataPersistenceBuilder
class, there is no direct constructor that instantiates the object. Instead, the builder pattern is used, where the object is created and configured step by step. This design pattern allows objects to be constructed and configured more flexibly.
Last updated