Uses of Class
org.spectrumauctions.sats.core.util.instancehandling.InstanceHandler
-
Packages that use InstanceHandler Package Description org.spectrumauctions.sats.core.model org.spectrumauctions.sats.core.util.instancehandling -
-
Uses of InstanceHandler in org.spectrumauctions.sats.core.model
Methods in org.spectrumauctions.sats.core.model with parameters of type InstanceHandler Modifier and Type Method Description <T extends SATSBidder>
java.util.List<T>World. restorePopulation(java.lang.Class<T> type, long populationId, InstanceHandler storageHandler)Advanced way to restore serializedSATSBidderinstances, allowing to specify a customInstanceHandler
For most use cases, it's recommended to useBMWorld.restorePopulation(long). -
Uses of InstanceHandler in org.spectrumauctions.sats.core.util.instancehandling
Subclasses of InstanceHandler in org.spectrumauctions.sats.core.util.instancehandling Modifier and Type Class Description classInMemoryInstanceHandlerA fast instance handler implementation.
No files are written - all write methods are empty mocks.
The use of this handler is only recommended if no instances are serialized or deserialized.classJSONInstanceHandlerMethods in org.spectrumauctions.sats.core.util.instancehandling that return InstanceHandler Modifier and Type Method Description static InstanceHandlerInstanceHandler. getDefaultHandler()Get the default instance handler.Methods in org.spectrumauctions.sats.core.util.instancehandling with parameters of type InstanceHandler Modifier and Type Method Description static voidInstanceHandler. setDefaultHandler(InstanceHandler defaultHandler)Set a new default instance handler.
The default instance handler is called on everyWorld, population andSATSBiddercreation for id selection and default storing.
-