我正在使用 GridGain .Net 客户端的追加/前置功能,这是正确的方法吗?从这个列表中删除项目的推荐方法是什么?
IGridClientData cache = client.Data("partitioned_tx");
cache.Put<string, long[]>("testlist", new long[] { 1L});
cache.Append<string, long[]>("testlist", new long[] { 2L});
cache.Prepend<string, long[]>("testlist", new long[] { 0L});
var testlist = cache.GetItem<string, System.Collections.ArrayList>("testlist");
long[] array = (long[])test.ToArray(typeof(long));