mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-21 08:25:28 +00:00
chore[orm]: rename method
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ public class EntityCache<PK extends Comparable<PK>, E extends IEntity<PK>> imple
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateNowUnsafe(E entity) {
|
||||
public void updateUnsafeNow(E entity) {
|
||||
var cachePnode = fetchCachePnode(entity, false);
|
||||
OrmContext.getAccessor().update(cachePnode.getEntity());
|
||||
var currentTime = TimeUtils.now();
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ public interface IEntityCache<PK extends Comparable<PK>, E extends IEntity<PK>>
|
||||
/**
|
||||
* 同updateNow(),不会校验更新的线程是否一致
|
||||
*/
|
||||
void updateNowUnsafe(E entity);
|
||||
void updateUnsafeNow(E entity);
|
||||
|
||||
/**
|
||||
* 不会删除数据库中的数据,只会删除缓存数据
|
||||
|
||||
Reference in New Issue
Block a user