Package dev.frostlake.persistence
Class MemoryTableDataStore
java.lang.Object
dev.frostlake.persistence.MemoryTableDataStore
- All Implemented Interfaces:
TableDataStore
TableDataStore held entirely in memory — the transport for in-JVM engine cloning.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe saved data for a table, or null when none was recorded (an empty table).voidsave(String database, String schema, String table, TableDataSnapshot data)
-
Constructor Details
-
MemoryTableDataStore
public MemoryTableDataStore()
-
-
Method Details
-
save
- Specified by:
savein interfaceTableDataStore
-
load
Description copied from interface:TableDataStoreThe saved data for a table, or null when none was recorded (an empty table).- Specified by:
loadin interfaceTableDataStore
-