You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mb...@apache.org on 2015/04/05 10:53:08 UTC

[3/3] flink git commit: Fix the constructor comments with correct parameter in DefaultMemoryManager

Fix the constructor comments with correct parameter in DefaultMemoryManager

Closes #568


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/909cee28
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/909cee28
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/909cee28

Branch: refs/heads/master
Commit: 909cee281292be7408b1b9f0c25cfbd6cf185b4a
Parents: f36eb54
Author: hongsibao <ho...@huawei.com>
Authored: Sat Apr 4 10:28:59 2015 +0800
Committer: mbalassi <mb...@apache.org>
Committed: Sun Apr 5 10:51:20 2015 +0200

----------------------------------------------------------------------
 .../apache/flink/runtime/memorymanager/DefaultMemoryManager.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/909cee28/flink-runtime/src/main/java/org/apache/flink/runtime/memorymanager/DefaultMemoryManager.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/memorymanager/DefaultMemoryManager.java b/flink-runtime/src/main/java/org/apache/flink/runtime/memorymanager/DefaultMemoryManager.java
index 5f84b23..cd677ac 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/memorymanager/DefaultMemoryManager.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/memorymanager/DefaultMemoryManager.java
@@ -84,6 +84,7 @@ public class DefaultMemoryManager implements MemoryManager {
 	 * Creates a memory manager with the given capacity, using the default page size.
 	 * 
 	 * @param memorySize The total size of the memory to be managed by this memory manager.
+	 * @param numberOfSlots The number of slots of the task manager.
 	 */
 	public DefaultMemoryManager(long memorySize, int numberOfSlots) {
 		this(memorySize, numberOfSlots, DEFAULT_PAGE_SIZE);
@@ -93,6 +94,7 @@ public class DefaultMemoryManager implements MemoryManager {
 	 * Creates a memory manager with the given capacity and given page size.
 	 * 
 	 * @param memorySize The total size of the memory to be managed by this memory manager.
+	 * @param numberOfSlots The number of slots of the task manager.
 	 * @param pageSize The size of the pages handed out by the memory manager.
 	 */
 	public DefaultMemoryManager(long memorySize, int numberOfSlots, int pageSize) {