Author: shawkins
Date: 2011-11-07 08:37:11 -0500 (Mon, 07 Nov 2011)
New Revision: 3616
Modified:
trunk/runtime/src/main/java/org/teiid/services/BufferServiceImpl.java
Log:
TEIID-1750 making the type consistent for memoryBufferSpace
Modified: trunk/runtime/src/main/java/org/teiid/services/BufferServiceImpl.java
===================================================================
--- trunk/runtime/src/main/java/org/teiid/services/BufferServiceImpl.java 2011-11-04
21:29:50 UTC (rev 3615)
+++ trunk/runtime/src/main/java/org/teiid/services/BufferServiceImpl.java 2011-11-07
13:37:11 UTC (rev 3616)
@@ -264,8 +264,8 @@
}
@ManagementProperty(description="Memory buffer space used by the buffer manager
in MB. -1 determines the setting automatically from the maxReserveKB (default -1). This
value cannot be smaller than maxStorageObjectSize.")
- public long getMemoryBufferSpace() {
- return memoryBufferSpace;
+ public int getMemoryBufferSpace() {
+ return (int)memoryBufferSpace;
}
@ManagementProperty(description="The maximum size of a buffer managed object
(typically a table page or a results batch) in bytes (default 8388608).")