|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSeConnection
ArcSDEPooledConnection
ISession
public class ArcSDEPooledConnection
An SeConnection that returns itself to the connection pool instead of closing on each call to close().
Field Summary |
---|
Fields inherited from class SeConnection |
---|
SE_ONE_THREAD_POLICY, SE_TRYLOCK_POLICY, SE_UNPROTECTED_POLICY |
Constructor Summary | |
---|---|
ArcSDEPooledConnection(ObjectPool pool,
ArcSDEConnectionConfig config)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. Doesn't close the connection, but returns itself to the connection pool. |
void |
commitTransaction()
Deprecated. |
boolean |
equals(Object other)
Deprecated. Compares for reference equality |
SeLayer |
getLayer(String layerName)
Deprecated. |
SeRasterColumn |
getRasterColumn(String rasterName)
Deprecated. |
SeTable |
getTable(String tableName)
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
isClosed()
Deprecated. |
boolean |
isPassivated()
Deprecated. Returns whether this connection is on the connection pool domain or not. |
boolean |
isTransactionActive()
Deprecated. Returns whether a transaction is in progress over this connection As for any other public method, this one can't be called if isPassivated() is true. |
void |
rollbackTransaction()
Deprecated. |
void |
startTransaction()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class SeConnection |
---|
getDatabaseName, getDBMSInfo, getLayers, getRasterColumns, getRelease, getSdeDbaName, getTimeSinceLastRT, getUser, setConcurrency, setTransactionAutoCommit, testServer |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArcSDEPooledConnection(ObjectPool pool, ArcSDEConnectionConfig config) throws SeException
SeException
Method Detail |
---|
public final boolean isClosed()
isClosed
in class SeConnection
public boolean isPassivated()
true
if this connection has beed returned to the pool and thus cannot be
used, false
if its safe to keep using it.public SeLayer getLayer(String layerName) throws DataSourceException
DataSourceException
public SeRasterColumn getRasterColumn(String rasterName) throws DataSourceException
DataSourceException
public SeTable getTable(String tableName) throws DataSourceException
DataSourceException
public void startTransaction() throws SeException
startTransaction
in class SeConnection
SeException
public void commitTransaction() throws SeException
commitTransaction
in class SeConnection
SeException
public boolean isTransactionActive()
As for any other public method, this one can't be called if isPassivated()
is true.
public void rollbackTransaction() throws SeException
rollbackTransaction
in class SeConnection
SeException
public void close() throws IllegalStateException
close
in class SeConnection
IllegalStateException
- if close() is called while a transaction is in progressdestroy()
public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |