You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2020/07/20 07:01:11 UTC

[incubator-iotdb] branch mem_control updated: add TsFileProcessorInfo

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch mem_control
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/mem_control by this push:
     new afd31b1  add TsFileProcessorInfo
afd31b1 is described below

commit afd31b1aa34532db6a473d1a320b66518ba9feaf
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Jul 20 15:00:43 2020 +0800

    add TsFileProcessorInfo
---
 .../engine/storagegroup/TsFileProcessorInfo.java   | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessorInfo.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessorInfo.java
new file mode 100644
index 0000000..3c0ce9a
--- /dev/null
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessorInfo.java
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.iotdb.db.engine.storagegroup;
+
+import org.apache.iotdb.db.conf.IoTDBDescriptor;
+
+public class TsFileProcessorInfo {
+
+  long unsealed_resource_mem_cost;
+  long bytes_mem_cost;
+  long chunkMetadata_mem_cost;
+  long wal_mem_cost = IoTDBDescriptor.getInstance().getConfig().getWalBufferSize();
+
+}