java.lang.Object
nectar.reda.server.action.AdminAction
nectar.reda.recordeditor.server.DeleteConfirmAction
- public class DeleteConfirmAction
- extends nectar.reda.server.action.AdminAction
| Fields inherited from class nectar.reda.server.action.AdminAction |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteConfirmAction
public DeleteConfirmAction()
execute
public void execute(nectar.reda.client.action.ClientAction action,
nectar.reda.server.Session session)
throws nectar.reda.client.action.ClientActionException
isHeavyAction
public boolean isHeavyAction()
- Description copied from class:
nectar.reda.server.action.AdminAction
- Let's the ActionPump that is going to execute this action know whether this
action will probably require a long time or not to complete. Any "blocking"
actions, ie, actions that make database queries, access files, or depend on
the actions of another thread to execute should return true for this method.
All actions that are very simple, for example looking up a status variable
that's loaded in memory should return true.
The behaviour of the ActionPump may be affected by the result of this method,
executing not heavy actions in the same thread as the ServerInstance that
reads and writes Action objects from and to the network. Heavy Actions are
passed to a pool thread that execute actions separately. This mechanism allows
much faster response for simple actions, taking advantage of the asynchronic
response pattern inherent to Reda StreamLayers...
If this method is not overridden, it will return false by default.