Buffered Persistent Data Container
A PersistentDataContainer that supports buffering.
This interface extends the PersistentDataContainer interface to provide additional methods for buffering data. It allows for the temporary storage of data in a buffer.
The buffer is used to store data not yet saved to the persistent storage. This allows for batch processing of data, reducing the number of write operations to the persistent storage.
This should be used when you do often write and read data to/from the persistent storage.
Author
Fantamomo
Since
1.0-SNAPSHOT
Inheritors
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.
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.
Saves the data in the container to the specified output stream.
Converts the current PersistentDataContainer to a buffered version.
Converts the current PersistentDataContainer instance to an immutable implementation.
Converts this PersistentDataContainer into a MutablePersistentDataContainer.