예제 #1
0
        private long ComputeJobCreate(void *target, long memPtr)
        {
            return(SafeCall(() =>
            {
                using (PlatformMemoryStream stream = IgniteManager.Memory.Get(memPtr).Stream())
                {
                    ComputeJobHolder job = ComputeJobHolder.CreateJob(_ignite, stream);

                    return _handleRegistry.Allocate(job);
                }
            }));
        }
예제 #2
0
 private long CacheEntryFilterCreate(void *target, long memPtr)
 {
     return(SafeCall(() => _handleRegistry.Allocate(CacheEntryFilterHolder.CreateInstance(memPtr, _ignite))));
 }