Package com.anylogic.engine.database
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- agentLogEntry
- agentParametersLogEntry
- agentTypeLogEntry
- agentTypeElementLogEntry
- flowchartEntry
- flowchartProcessStateChangedLogEntry
- resourceUnitStateChangedLogEntry
- resourcePoolUtilizationLogEntry
- resourceUnitUtilizationLogEntry
- fluidUnitsLogEntry
- fluidStoragesLogEntry
- fluidRatesLogEntry
- fluidUtilizationLogEntry
- eventOccurredLogEntry
- agentDied
- changeAgentNameLogEntry
- traceLogEntry
- statechartTransitionLogEntry
- statechartElementLogEntry
- agentMovementLogEntry
- messageReceived
- statisticsContinuousLogEntry
- statisticsDiscreteLogEntry
- dataSetLogEntry
- histogramDataLogEntry
- compareLogEntries
- statechartEnterStateLogEntry
- statechartExitStateLogEntry
- java.lang.Object
- com.anylogic.engine.database.LogEntryFactory
@AnyLogicInternalAPI public class LogEntryFactory extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
Constructor | Description |
---|---|
LogEntryFactory() |
Modifier and Type | Method | Description |
---|---|---|
static ILogEntry | agentDied |
Agent have died.
|
static ILogEntry | agentLogEntry |
Instance of agent has been created or destroyed.
|
static ILogEntry | agentMovementLogEntry |
Log agent's movement.
|
static ILogEntry | agentParametersLogEntry |
Instance of agent has been created or destroyed.
|
static ILogEntry | agentTypeElementLogEntry |
Create agent type's element like state or event.
|
static ILogEntry | agentTypeLogEntry |
Agent type
|
static ILogEntry | changeAgentNameLogEntry |
Agent changed name.
|
static int | compareLogEntries | |
static ILogEntry | dataSetLogEntry | |
static ILogEntry | eventOccurredLogEntry |
Event have occurred.
|
static ILogEntry | flowchartEntry |
Entity entered some block
|
static ILogEntry | flowchartProcessStateChangedLogEntry |
Entity entered some block
|
static ILogEntry | fluidRatesLogEntry | |
static ILogEntry | fluidStoragesLogEntry | |
static ILogEntry | fluidUnitsLogEntry | |
static ILogEntry | fluidUtilizationLogEntry | |
static ILogEntry | histogramDataLogEntry | |
static ILogEntry | messageReceived |
Log agent's movement.
|
static ILogEntry | resourcePoolUtilizationLogEntry | |
static ILogEntry | resourceUnitStateChangedLogEntry |
Resource unit changed its activity.
|
static ILogEntry | resourceUnitUtilizationLogEntry | |
static ILogEntry | statechartElementLogEntry | |
static <T extends Enum<T> & IStatechartState<?, | statechartEnterStateLogEntry | |
static <T extends Enum<T> & IStatechartState<?, | statechartExitStateLogEntry | |
static <T extends Enum<T> & IStatechartState<?, | statechartTransitionLogEntry |
Statechart transition has happened
|
static ILogEntry | statisticsContinuousLogEntry | |
static ILogEntry | statisticsDiscreteLogEntry | |
static ILogEntry | traceLogEntry |
traceToDB() was called
|
public LogEntryFactory()
public static ILogEntry agentLogEntry(Agent agent)
Instance of agent has been created or destroyed.
public static ILogEntry agentParametersLogEntry(Agent agent)
Instance of agent has been created or destroyed.
public static ILogEntry agentTypeLogEntry(int agentTypeId, String agentTypeName)
Agent type
public static ILogEntry agentTypeElementLogEntry(int elementId, Agent agent, String elementName)
Create agent type's element like state or event.
public static ILogEntry flowchartEntry(Agent agent, Agent block)
Entity entered some block
public static ILogEntry flowchartProcessStateChangedLogEntry(Agent agent, Agent block, Object activityType, long startTime)
Entity entered some block
- Parameters:
agent
-block
-activityType
- instance of FlowchartActivityType enum from Process Modeling LibrarystartTime
-- Returns:
- log entry
public static ILogEntry resourceUnitStateChangedLogEntry(Agent unit, Agent resourcePool, Object usageState, Object taskType, Agent agent, Agent resourceTask, long startTime)
Resource unit changed its activity.
- Parameters:
unit
-resourcePool
-usageState
- instance of ResourceUsageState enum from Process Modeling LibrarytaskType
- instance of ResourceTaskType enum from Process Modeling Libraryagent
-resourceTask
-startTime
-- Returns:
- log entry
public static ILogEntry resourcePoolUtilizationLogEntry(Agent resourcePool, double utilization, int size)
public static ILogEntry resourceUnitUtilizationLogEntry(Agent unit, Agent resourcePool, double utilization)
public static ILogEntry fluidUnitsLogEntry(Agent fluidBlock, String amountUnits, String rateUnits)
public static ILogEntry fluidStoragesLogEntry(Agent fluidBlock, double min, double max, double average)
public static ILogEntry fluidRatesLogEntry(Agent fluidBlock, String port, double total, double min, double max, double average)
public static ILogEntry fluidUtilizationLogEntry(Agent fluidBlock, double utilization)
public static ILogEntry eventOccurredLogEntry(EventOriginator eventOriginator)
Event have occurred.
public static ILogEntry agentDied(Agent agent)
Agent have died.
- Parameters:
agent
-- Returns:
- log entry
public static ILogEntry changeAgentNameLogEntry(int agentId, String newName)
Agent changed name.
- Parameters:
agent
-- Returns:
- log entry
public static ILogEntry traceLogEntry(Utilities utilities, String trace)
traceToDB() was called
public static <T extends Enum<T> & IStatechartState<?,T>> ILogEntry statechartTransitionLogEntry(Agent agent, Statechart<T> statechart, Transition transition, T nextState)
Statechart transition has happened
public static ILogEntry statechartElementLogEntry(Agent agent, Statechart<?> statechart, int stateId)
public static ILogEntry agentMovementLogEntry(int agentId, double speed, long startTime, long stopTime)
Log agent's movement.
public static ILogEntry messageReceived(Agent agent, Agent sender, Object msg)
Log agent's movement.
public static ILogEntry statisticsContinuousLogEntry(Agent agent, String name, StatisticsContinuous statistics)
public static ILogEntry statisticsDiscreteLogEntry(Agent agent, String name, StatisticsDiscrete statistics)
public static ILogEntry dataSetLogEntry(Agent agent, String name, DataSet dataSet)
public static ILogEntry histogramDataLogEntry(Agent agent, String name, HistogramData h)
public static int compareLogEntries(ILogEntry o1, ILogEntry o2)
public static <T extends Enum<T> & IStatechartState<?,T>> ILogEntry statechartEnterStateLogEntry(Agent agent, Statechart<T> statechart, T state)
public static <T extends Enum<T> & IStatechartState<?,T>> ILogEntry statechartExitStateLogEntry(Agent agent, Statechart<T> statechart, T state)