Package | Description |
---|---|
de.esprit.netsuite.netdata.agent |
Contains base classes for implementing custom network agents
|
de.esprit.netsuite.server.batch |
Contains classes that implement and manage the available server processes
|
de.esprit.netsuite.server.db |
Contains classes for server side database configuration.
|
de.esprit.netsuite.server.lock |
Contains classes for managing temporary edit locks on server resources
|
Modifier and Type | Method and Description |
---|---|
ResourceLock |
AbstractLockableAgent.acquireAsExclusiveLock(ResourceLock lock) |
DatabaseConnection |
AbstractTestAgent.resetToDefaultDataSource() |
DatabaseConnection |
AbstractTestAgent.resetToPreviousDataSource() |
DatabaseConnection |
AbstractTestAgent.selectDataSource(java.lang.String dataSourceName) |
Modifier and Type | Method and Description |
---|---|
DatabaseConnection |
AbstractBatchTask.resetToDefaultDataSource() |
DatabaseConnection |
AbstractBatchTask.resetToPreviousDataSource() |
DatabaseConnection |
AbstractBatchTask.selectDataSource(java.lang.String dataSourceName) |
Modifier and Type | Method and Description |
---|---|
DatabaseConnection |
DatabaseManager.resetToDefaultDataSource(SessionId sessId)
Resets to the default DataSource which is the first one configured in the config file.
|
DatabaseConnection |
DatabaseManager.resetToPreviousDataSource(SessionId sessId)
Resets to the previously selected DataSource.
|
DatabaseConnection |
DatabaseManager.selectDataSource(SessionId sessId,
java.lang.String dataSourceName)
Selects the DataSource by name.
|
Modifier and Type | Method and Description |
---|---|
ResourceLock |
ResourceLockManager.acquireAsExclusiveLock(ResourceLock myLock)
Acquires and returns a new EXCLUSIVE lock for the given SHARED lock.
|
void |
ResourceLockManager.checkIsDataSourceLockedByForeignSession(SessionId sessionId)
Checks whether there is a foreign DATA_SOURCE lock, no matter whether shared or exclusive.
|
void |
ResourceLockManager.checkIsLockedByForeignSession(SessionId sessionId,
LockType lockType,
ResourceType resourceType,
java.lang.String resourceName) |
ResourceLock |
ResourceLockManager.lockDataSource(SessionId sessionId,
java.lang.String dataSourceName)
Fetches an exclusive lock for the given data-source.
|
ResourceLock |
ResourceLockManager.lockDataSourcePoolExclusive(SessionId sessionId)
Fetches an exclusive lock for the data-source pool.
|
ResourceLock |
ResourceLockManager.lockDataSourcePoolShared(SessionId sessionId)
Fetches a shared lock for the data-source pool.
|
ResourceLock |
ResourceLockManager.lockExclusive(SessionId sessionId,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
ResourceLock |
ResourceLockManager.lockShared(SessionId sessionId,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
Copyright © 2014 EsprIT-Systems. All Rights Reserved.