示例#1
0
 void DoCqWithDelta()
 {
   string cKey1 = "key1";
   IRegion<object, object> reg = CacheHelper.GetRegion<object, object>("DistRegionAck");
   DeltaTestImpl value = new DeltaTestImpl();
   reg[cKey1] = value;
   value.SetIntVar(5);
   value.SetDelta(true);
   reg[cKey1] = value;
 }
示例#2
0
    void DoNotificationWithDefaultCloning()
    {
      string cKey = m_keys[0];
      DeltaTestImpl val = new DeltaTestImpl();
      IRegion<object, object> reg = CacheHelper.GetRegion<object, object>("DistRegionAck");
      reg[cKey] = val;
      val.SetIntVar(2);
      val.SetDelta(true);
      reg[cKey] = val;

      javaobject.PdxDelta pd = new javaobject.PdxDelta(1001);
      for (int i = 0; i < 10; i++)
      {
        reg["pdxdelta"] = pd;
      }
    }