com.alibaba.otter.manager.biz.remote.NodeRemoteService Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2010-2101 Alibaba Group Holding Limited.
*
* Licensed 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 com.alibaba.otter.manager.biz.remote;
import java.util.List;
/**
* 查询node节点的一些运行信息
*
* @author jianghang 2012-7-30 上午10:36:14
*/
public interface NodeRemoteService {
/**
* 返回当前运行pipeline数量,可能只运行S/E/T/L的某个模块
*/
public int getRunningPipelineCount(Long nid);
/**
* 返回当前运行中的pipeline的id列表
*/
public List getRunningPipelines(Long nid);
/**
* 获取当前使用的heap区大小
*/
public String getHeapMemoryUsage(Long nid);
/**
* 获取系统对应的load
*/
public String getNodeSystemInfo(Long nid);
/**
* 获取node节点对应的版本信息
*/
public String getNodeVersionInfo(Long nid);
/**
* 获取node共享线程线程池的线程数
*/
public int getThreadPoolSize(Long nid);
/**
* 获取当前node共享线程的当前活跃线程数
*/
public int getThreadActiveSize(Long nid);
/**
* 设置是否开启profile统计
*/
public void setProfile(Long nid, boolean profile);
/**
* 设置对应的s/e/t/l seda模型的线程池大小
*/
public void setThreadPoolSize(Long nid, int size);
/**
* 当前节点是否运行select
*/
public boolean isSelectRunning(Long nid, Long pipelineId);
/**
* 当前节点是否运行extract
*/
public boolean isExtractRunning(Long nid, Long pipelineId);
/**
* 当前节点是否运行transform
*/
public boolean isTransformRunning(Long nid, Long pipelineId);
/**
* 当前节点是否运行load
*/
public boolean isLoadRunning(Long nid, Long pipelineId);
/**
* select stage统计信息
*/
public String selectStageAggregation(Long nid, Long pipelineId);
/**
* extract stage统计信息
*/
public String extractStageAggregation(Long nid, Long pipelineId);
/**
* transform stage统计信息
*/
public String transformStageAggregation(Long nid, Long pipelineId);
/**
* load stage统计信息
*/
public String loadStageAggregation(Long nid, Long pipelineId);
/**
* select pending队列信息
*/
public String selectPendingProcess(Long nid, Long pipelineId);
/**
* extract pending队列信息
*/
public String extractPendingProcess(Long nid, Long pipelineId);
/**
* transform pending队列信息
*/
public String transformPendingProcess(Long nid, Long pipelineId);
/**
* load pending队列信息
*/
public String loadPendingProcess(Long nid, Long pipelineId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy