Add OperatorContext#localSystemMemoryContext
@@ -261,6 +261,12 @@ public class OperatorContext
return new InternalLocalMemoryContext(operatorMemoryContext.localUserMemoryContext(), memoryFuture);
}
+ // caller shouldn't close this context as it's managed by the OperatorContext
+ public LocalMemoryContext localSystemMemoryContext()
+ {
+ return new InternalLocalMemoryContext(operatorMemoryContext.localSystemMemoryContext(), memoryFuture);
+ }
+
// caller shouldn't close this context as it's managed by the OperatorContext
public LocalMemoryContext localRevocableMemoryContext()
{
