johnyangk commented on a change in pull request #223: [NEMO-388] Off-heap
memory management (reuse ByteBuffer)
URL: https://github.com/apache/incubator-nemo/pull/223#discussion_r307127012
##########
File path:
runtime/executor/src/main/java/org/apache/nemo/runtime/executor/data/stores/AbstractBlockStore.java
##########
@@ -48,4 +53,13 @@ protected final Serializer getSerializerFromWorker(final
String blockId) {
final String runtimeEdgeId =
RuntimeIdManager.getRuntimeEdgeIdFromBlockId(blockId);
return serializerManager.getSerializer(runtimeEdgeId);
}
+
+ /**
+ * Gets the memory pool assigner for this executor.
+ *
+ * @return the memory pool assigner.
+ */
+ protected final MemoryPoolAssigner getMemoryPoolAssigner() {
Review comment:
Ditto on protected.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services