示例#1
0
文件: UniqueKey.cs 项目: Kevnz/KiwiDB
 public void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     actions.FailIfKeyExists();
 }
示例#2
0
文件: UpdateKey.cs 项目: Kevnz/KiwiDB
 public void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     actions.UpdateExistingKey();
 }
示例#3
0
 public void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     actions.AppendNewKey();
 }
示例#4
0
文件: Node.cs 项目: Kevnz/KiwiDB
 protected void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     Config.UpdateStrategy.PrepareUpdate(key, value, actions);
 }