Package com.atlassian.sal.api.rdbms
Interface TransactionalExecutorFactory
@PublicApi
public interface TransactionalExecutorFactory
Provided by the host application for creating
TransactionalExecutor.
Note that the TransactionalExecutors created are not considered thread safe.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransactionalExecutorcreate()Create a transactional executor withreadOnlynot set andrequiresNewnot setdefault TransactionalExecutorDeprecated.default TransactionalExecutorcreateExecutor(boolean readOnly, boolean requiresNew) Create a transactional executordefault TransactionalExecutorCreate a transactional executor withreadOnlyset andrequiresNewnot set
-
Method Details
-
create
Create a transactional executor withreadOnlynot set andrequiresNewnot set -
createReadOnly
Create a transactional executor withreadOnlyset andrequiresNewnot set -
createExecutor
Create a transactional executor- Parameters:
readOnly- initial value forreadOnlyrequiresNew- initial value forrequiresNew
-
createExecutor
Deprecated.As of release 3.1.0, replaced bycreateReadOnly()Create a transactional executor withreadOnlyset andrequiresNewnot set
-
createReadOnly()Create a transactional executor withreadOnlyset andrequiresNewnot set