Package org.powertac.common.interfaces
Interface BootstrapState
-
- All Known Implementing Classes:
CustomerModelService
,SimpleGencoService
public interface BootstrapState
Implementers of this interface will be asked to record their state at the end of a bootstrap session, for restoration at the beginning of the corresponding sim session.- Author:
- John Collins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
saveBootstrapState()
Saves state at the conclusion of a bootstrap session as configuration items.
-
-
-
Method Detail
-
saveBootstrapState
void saveBootstrapState()
Saves state at the conclusion of a bootstrap session as configuration items. State can then be restored at the beginning of the sim session through the normal configuration process. The usual way to save state is to call ServerPropertiesService.saveBootstrapState(arg), where arg is either a single configurable object (configured with configureMe() or configureSingleton()), or a list of objects annotated withConfigurableInstance
.
-
-