Package org.nustaq.reallive.client
Class EmbeddedRealLive
java.lang.Object
org.nustaq.reallive.client.EmbeddedRealLive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.nustaq.kontraktor.IPromise<RealLiveTable>createTable(TableDescription desc, String dataDir) WARNING: never create more than one table using the same file.static EmbeddedRealLiveget()org.nustaq.kontraktor.IPromise<RealLiveTable>
-
Constructor Details
-
EmbeddedRealLive
public EmbeddedRealLive()
-
-
Method Details
-
get
-
loadTable
-
createTable
public org.nustaq.kontraktor.IPromise<RealLiveTable> createTable(TableDescription desc, String dataDir) WARNING: never create more than one table using the same file. This will result in corrupted data for sure. As actor refs (tables) are thread save, just init a singleton containing all your tables once.- Parameters:
desc-dataDir- - if null use path from description- Returns:
- a thread save actor reference to a newly loaded or created table
-