public class GlobalJdbcUpdateImpl extends AbstractJdbcUpdate implements IGlobalUpdate
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
dbCluster, entityMetaManager, primaryCache, secondCache, txManager| Constructor and Description |
|---|
GlobalJdbcUpdateImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
removeByPk(EntityPK pk,
Class<?> clazz,
String clusterName)
删除全局库
|
void |
removeByPks(List<EntityPK> pks,
Class<?> clazz,
String clusterName)
批量删除全局库
|
PKValue |
save(Object entity,
String clusterName)
保存数据到集群全局库.
|
PKValue[] |
saveBatch(List<? extends Object> entities,
String clusterName,
boolean autoGeneratedKeys)
批量保存数据到全局库.
|
void |
update(Object entity,
String clusterName)
更新全局库
|
void |
updateBatch(List<? extends Object> entities,
String clusterName)
批量更新全局库
|
_removeByPks, _saveBatchWithAutoGeneratedKeys, _saveBatchWithoutAutoGeneratedKeys, _updateBatchfillParam, getDBCluster, getPrimaryCache, getSecondCache, getTransactionManager, isCacheAvailable, isCacheAvailable, isSecondCacheAvailable, isSecondCacheAvailable, setDBCluster, setPrimaryCache, setSecondCache, setTransactionManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDBCluster, getPrimaryCache, getSecondCache, getTransactionManager, setDBCluster, setPrimaryCache, setSecondCache, setTransactionManagerpublic PKValue save(Object entity, String clusterName)
IGlobalUpdatesave in interface IGlobalUpdateentity - 数据对象clusterName - 集群名public PKValue[] saveBatch(List<? extends Object> entities, String clusterName, boolean autoGeneratedKeys)
IGlobalUpdatesaveBatch in interface IGlobalUpdateentities - 批量数据对象clusterName - 集群名public void update(Object entity, String clusterName)
IGlobalUpdateupdate in interface IGlobalUpdateentity - 数据对象clusterName - 集群名称public void updateBatch(List<? extends Object> entities, String clusterName)
IGlobalUpdateupdateBatch in interface IGlobalUpdateentities - 批量更新数据clusterName - 集群名public void removeByPk(EntityPK pk, Class<?> clazz, String clusterName)
IGlobalUpdateremoveByPk in interface IGlobalUpdatepublic void removeByPks(List<EntityPK> pks, Class<?> clazz, String clusterName)
IGlobalUpdateremoveByPks in interface IGlobalUpdateCopyright © 2015. All rights reserved.