BufferedPersistentDataContainerImpl

constructor(delegate: PersistentDataContainer)(source)

Creates a new instance with a specified delegate PersistentDataContainer.

Parameters

delegate

The underlying PersistentDataContainer that this implementation delegates operations to when necessary.

The following methods are supported:

  • Data retrieval and storage using buffered entries with automatic type handling, realized through get, contains, and getPrimitive.

  • Management of buffered entries, such as clearing or deleting specific entries, with clearBuffer and deleteBuffer.

  • Data persistence through the delegate's ability to save to an output stream.