public class LockReleaseCommand<C extends ClientContext> extends ClientCommand<C> implements SystemCommand
Constructor and Description |
---|
LockReleaseCommand(SessionId fromSessId)
Force all clients to release all their locks
|
LockReleaseCommand(SessionId fromSessId,
ResourceLock lock)
Force the lock owner to release the given lock
|
Modifier and Type | Method and Description |
---|---|
void |
executeSyncFinally()
This method is called after
ClientCommand.executeAsync() only if the async execution was successful. |
ResourceLock |
getLock() |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
cancel, checkCancelled, executeAsync, getArgument, getClientContext, getCommandId, getFromSession, getLogChannel, getName, getRenderColor, getRenderIcon, getRenderText, getServerContext, getTargetSession, getTargetUsers, hasFromSession, hasTargetSession, hasTargetUser, isCoClient, isGuiClient, isLogDebug, isLogVerbose, isSkipSender, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setArgument, setcancelled, setClientContext, setFromSession, setLogChannel, setName, setSkipSender, setTargetSession, setTargetUser, setTargetUsers, sleepChecked, toDumpString, wasCancelled
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public LockReleaseCommand(SessionId fromSessId)
public LockReleaseCommand(SessionId fromSessId, ResourceLock lock)
public ResourceLock getLock()
public void executeSyncFinally() throws java.lang.Exception
ClientCommand
ClientCommand.executeAsync()
only if the async execution was successful.
If the client has a GUI it runs in the EventDispatcher thread and thus may perform GUI updates.
The default implementation is empty.executeSyncFinally
in class ClientCommand<C extends ClientContext>
java.lang.Exception
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class ClientCommand<C extends ClientContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.