An {@code ISession} is a decorator around an SeConnection, ensuring the SeConnection is not hitby two concurrent threads while at the same time participating in a {@link ISessionPool connection pool} where more than one thread can reclaim usage of the {@link SeConnection}.
Each piece of code that needs access to an {@link SeConnection}, either directly or indirectly (for example, by accessing an {@link SeStreamOp} like in {@code SeQuery.fetch()} or{@code new SeLayer(connection)}, needs to do so inside the body of a {@link Command}, and issue the command through {@link ISession#issue(Command)}.
@author Gabriel Roldan @author Jody Garnett @source $URL$ @version $Id$ @since 2.5.x
|
|
|
|