uk.ac.imperial.presage2.core.db.StorageService |
Known Indirect Subclasses |
A service to provide storage of simulation data.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
PersistentAgent for this simulation. | |||||||||||
Create a
PersistentSimulation for the given parameters and set it
as the current simulation | |||||||||||
Get the
PersistentAgent for this simulation with given UUID. | |||||||||||
Get the
TransientAgentState associated with agentID at a given
time. | |||||||||||
Get the
PersistentSimulation for the currently running
simulation. | |||||||||||
Get a
PersistentSimulation which corresponds to the given
simulation ID. | |||||||||||
Set the
PersistentSimulation to use. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.inject.Provider
| |||||||||||
From interface
javax.inject.Provider
|
Create a new PersistentAgent
for this simulation.
Create a PersistentSimulation
for the given parameters and set it
as the current simulation
name | name of the simulation |
---|---|
classname | name of the simulation's main class |
state | current state of the simulation |
finishTime | number of simulation cycles in this sim |
PersistentSimulation
object relating to the simulation
entry created in the database.
Get the PersistentAgent
for this simulation with given UUID.
Get the TransientAgentState
associated with agentID at a given
time.
Get the PersistentSimulation
for the currently running
simulation.
Get a PersistentSimulation
which corresponds to the given
simulation ID.
Set the PersistentSimulation
to use.