public abstract class Command<R> extends Object
Instances of this class can be sent to
Session.issue(Command) in order to be executed. A
Command has exclusive access to the
connection for the duration of
execute method. This facility is used to prevent a series of complicated locks and
|Constructor and Description|
|Modifier and Type||Method and Description|
Executed to operate on an SeConnection, a Command is scheduled for execution on a Session.
public abstract R execute(ISession session, SeConnection connection) throws SeException, IOException
Please keep in mind that a Command should be short in duration; you are sharing this SeConnection with other threads.
session- the Session the command is being executed inside
connection- the session's connection, used to interact with ArcSDE
Copyright © 1996–2018 Geotools. All rights reserved.