public final class MongoSessionHolder
extends org.springframework.transaction.support.ResourceHolderSupport
| Constructor and Description |
|---|
MongoSessionHolder(MongoSession mongoSession,
ExecutorType executorType,
org.springframework.dao.support.PersistenceExceptionTranslator exceptionTranslator) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.dao.support.PersistenceExceptionTranslator |
getExceptionTranslator() |
ExecutorType |
getExecutorType() |
MongoSession |
getMongoSession() |
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, resetRollbackOnly, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unboundpublic MongoSessionHolder(MongoSession mongoSession, ExecutorType executorType, org.springframework.dao.support.PersistenceExceptionTranslator exceptionTranslator)
public MongoSession getMongoSession()
public ExecutorType getExecutorType()
public org.springframework.dao.support.PersistenceExceptionTranslator getExceptionTranslator()
Copyright © 2019. All rights reserved.