public class EntitySqlDaoTransactionalJdbiWrapper
extends java.lang.Object
| Constructor and Description |
|---|
EntitySqlDaoTransactionalJdbiWrapper(org.skife.jdbi.v2.IDBI dbi,
org.skife.jdbi.v2.IDBI roDbi,
org.killbill.clock.Clock clock,
CacheControllerDispatcher cacheControllerDispatcher,
NonEntityDao nonEntityDao,
InternalCallContextFactory internalCallContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
<ReturnType,E extends java.lang.Exception> |
execute(boolean ro,
java.lang.Class<E> exception,
EntitySqlDaoTransactionWrapper<ReturnType> entitySqlDaoTransactionWrapper) |
<ReturnType> |
execute(boolean requestedRO,
EntitySqlDaoTransactionWrapper<ReturnType> entitySqlDaoTransactionWrapper) |
<M extends EntityModelDao<E>,E extends org.killbill.billing.util.entity.Entity,T extends EntitySqlDao<M,E>> |
onDemandForStreamingResults(java.lang.Class<T> sqlObjectType) |
<M extends EntityModelDao> |
populateCaches(M refreshedEntity) |
public EntitySqlDaoTransactionalJdbiWrapper(org.skife.jdbi.v2.IDBI dbi,
org.skife.jdbi.v2.IDBI roDbi,
org.killbill.clock.Clock clock,
CacheControllerDispatcher cacheControllerDispatcher,
NonEntityDao nonEntityDao,
InternalCallContextFactory internalCallContextFactory)
public <M extends EntityModelDao> void populateCaches(M refreshedEntity)
public <ReturnType> ReturnType execute(boolean requestedRO,
EntitySqlDaoTransactionWrapper<ReturnType> entitySqlDaoTransactionWrapper)
ReturnType - object type to return from the transactionrequestedRO - hint as whether to use the read-only connectionentitySqlDaoTransactionWrapper - transaction to executepublic <M extends EntityModelDao<E>,E extends org.killbill.billing.util.entity.Entity,T extends EntitySqlDao<M,E>> T onDemandForStreamingResults(java.lang.Class<T> sqlObjectType)
public <ReturnType,E extends java.lang.Exception> ReturnType execute(boolean ro,
@Nullable
java.lang.Class<E> exception,
EntitySqlDaoTransactionWrapper<ReturnType> entitySqlDaoTransactionWrapper)
throws E extends java.lang.Exception
ReturnType - object type to return from the transactionE - checked exception which can be thrown from the transactionro - whether to use the read-only connectionentitySqlDaoTransactionWrapper - transaction to executeE extends java.lang.ExceptionCopyright © 2010-2020. All Rights Reserved.