/// <summary> /// Gets Java thread names. /// </summary> private string[] GetJavaThreadNames() { return(Ignite.GetCompute() .ExecuteJavaTask <string[]>("org.apache.ignite.platform.PlatformThreadNamesTask", null) .Where(x => !x.StartsWith("pub-#") && !x.StartsWith("jvm-")) .OrderBy(x => x) .ToArray()); }
public async Task TestComputeExecuteAsyncContinuation() { await Ignite.GetCompute().ExecuteAsync(new StringLengthEmptyTask(), "abc"); StringAssert.StartsWith("Thread-", TestUtilsJni.GetJavaThreadName()); }
public async Task TestComputeRunAsyncContinuation() { await Ignite.GetCompute().RunAsync(new ComputeAction()); StringAssert.StartsWith("Thread-", TestUtilsJni.GetJavaThreadName()); }