Package com.anylogic.engine.database
- java.lang.Object
- com.anylogic.engine.database.ModelDBLogs
@AnyLogicInternalAPI public class ModelDBLogs extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
This class is responsible for storing model logs on the database side.
it may be removed/renamed in future.
This class is responsible for storing model logs on the database side.
- Author:
- AnyLogic North America, LLC https://anylogic.com
Constructor | Description |
---|---|
ModelDBLogs |
Modifier and Type | Method | Description |
---|---|---|
void | clearIncompleteLogEntries() | |
static void | createLogSchema |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
static void | deleteExistingLogObjects |
This method deletes all the model log data (if any were turned on) from the model database
|
void | flushIncompleteLogEntries() | |
void | log |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
public ModelDBLogs(ModelDBConnectivity database)
@AnyLogicInternalAPI public static void createLogSchema(Connection connection) throws SQLException
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Throws:
SQLException
public static void deleteExistingLogObjects(Connection connection) throws SQLException
This method deletes all the model log data (if any were turned on) from the model database
- Parameters:
connection
- database connection- Throws:
SQLException
@AnyLogicInternalAPI public void log(ILogEntry logEntry)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
public void clearIncompleteLogEntries()
public void flushIncompleteLogEntries() throws SQLException
- Throws:
SQLException