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); } })); }
private long CacheEntryFilterCreate(void *target, long memPtr) { return(SafeCall(() => _handleRegistry.Allocate(CacheEntryFilterHolder.CreateInstance(memPtr, _ignite)))); }