Package marauroa.server.game.dbcommand
Class StoreZoneCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
marauroa.server.game.dbcommand.StoreZoneCommand
- All Implemented Interfaces:
DBCommand
Asynchronously stores a zone.
- Author:
- hendrik
-
Constructor Summary
ConstructorsConstructorDescriptionStoreZoneCommand(IRPZone zone, List<RPObject> frozenContent)Asynchronously stores a zone -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DBTransaction transaction)processes the database request.toString()returns a string suitable for debug output of this DBCommand.Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
StoreZoneCommand
Asynchronously stores a zone- Parameters:
zone- IRPZonefrozenContent- the content of the
-
-
Method Details
-
execute
Description copied from class:AbstractDBCommandprocesses the database request.- Specified by:
executein interfaceDBCommand- Specified by:
executein classAbstractDBCommand- Parameters:
transaction- DBTransaction- Throws:
SQLException- in case of an database errorIOException- in case of an input/output error
-
toString
returns a string suitable for debug output of this DBCommand.
-