Mutable Buffered Persistent Data Container Impl
Implementation of a mutable buffered persistent data container.
This class extends the functionality of BufferedPersistentDataContainerImpl and implements MutableBufferedPersistentDataContainer, providing mutability for managing buffered entries within the persistent data container.
Changes to the buffer can be flushed to the underlying persistent data container, and the buffer can be synchronized with the underlying data using the refresh method.
The container supports addition, removal, and iteration of key-value pairs, with buffered and persistent storage integration.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
The mutable persistent data container to delegate operations to.
Functions
Creates a bound entry for accessing persistent data within the container.
Creates a DefaultBoundEntry that is bound to the specified PersistentDataContainer. This entry allows the retrieval of a value using the specified key and type, with the capability to provide a default value if the key does not exist in the container.
This methode is used to make a bulk operation on the MutablePersistentDataContainer.
Clears the buffer.
Checks if the container contains a value associated with the specified PersistentKey.
This methode copies all key-value pairs from the PersistentDataContainer to the receiver.
Deletes the buffer with the given key.
This methode is used to get the direct value of the key.
This method is used to get the value of the specified key from the PersistentDataContainer.
This method is used to get the value of the specified key from the PersistentDataContainer.
This methode is uses to get the element by the key.
Gets the primitive value associated with the specified key.
This method is used to get the value of the specified key from the PersistentDataContainer.
Loads data from the specified input stream using the specified serializer strategy.
Creates a new instance of MutableBoundEntry that is bound to the specified MutablePersistentDataContainer, using the provided key and PersistentDataType.
Creates a mutable bound entry for a key in the given mutable persistent data container.
Adds multiple entries to this container using vararg pairs.
Adds all entries from the provided map to this container.
Adds multiple nullable entries to this container.
Removes all values associated with the specified keys from this container.
Saves the data in the container to the specified output stream.
This method is used to set the value of the specified key in the PersistentDataContainer.
Converts this MutablePersistentDataContainer into a MutableBufferedPersistentDataContainer.
Converts the current PersistentDataContainer to a buffered version.
Converts the current MutablePersistentDataContainer to a thread-safe implementation by wrapping it in a ConcurrentPersistentDataContainer.
Converts the current PersistentDataContainer instance to an immutable implementation.
Converts this PersistentDataContainer into a MutablePersistentDataContainer.