本文整理汇总了Java中io.airlift.stats.CounterStat.merge方法的典型用法代码示例。如果您正苦于以下问题:Java CounterStat.merge方法的具体用法?Java CounterStat.merge怎么用?Java CounterStat.merge使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类io.airlift.stats.CounterStat
的用法示例。
在下文中一共展示了CounterStat.merge方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getInputDataSize
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getInputDataSize()
{
CounterStat stat = new CounterStat();
for (PipelineContext pipelineContext : pipelineContexts) {
if (pipelineContext.isInputPipeline()) {
stat.merge(pipelineContext.getInputDataSize());
}
}
return stat;
}
示例2: getInputPositions
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getInputPositions()
{
CounterStat stat = new CounterStat();
for (PipelineContext pipelineContext : pipelineContexts) {
if (pipelineContext.isInputPipeline()) {
stat.merge(pipelineContext.getInputPositions());
}
}
return stat;
}
示例3: getOutputDataSize
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getOutputDataSize()
{
CounterStat stat = new CounterStat();
for (PipelineContext pipelineContext : pipelineContexts) {
if (pipelineContext.isOutputPipeline()) {
stat.merge(pipelineContext.getOutputDataSize());
}
}
return stat;
}
示例4: getOutputPositions
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getOutputPositions()
{
CounterStat stat = new CounterStat();
for (PipelineContext pipelineContext : pipelineContexts) {
if (pipelineContext.isOutputPipeline()) {
stat.merge(pipelineContext.getOutputPositions());
}
}
return stat;
}
示例5: getInputDataSize
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getInputDataSize()
{
CounterStat stat = new CounterStat();
stat.merge(rawInputDataSize);
for (DriverContext driver : drivers) {
stat.merge(driver.getInputDataSize());
}
return stat;
}
示例6: getInputPositions
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getInputPositions()
{
CounterStat stat = new CounterStat();
stat.merge(rawInputPositions);
for (DriverContext driver : drivers) {
stat.merge(driver.getInputPositions());
}
return stat;
}
示例7: getOutputDataSize
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getOutputDataSize()
{
CounterStat stat = new CounterStat();
stat.merge(outputDataSize);
for (DriverContext driver : drivers) {
stat.merge(driver.getOutputDataSize());
}
return stat;
}
示例8: getOutputPositions
import io.airlift.stats.CounterStat; //导入方法依赖的package包/类
public CounterStat getOutputPositions()
{
CounterStat stat = new CounterStat();
stat.merge(outputPositions);
for (DriverContext driver : drivers) {
stat.merge(driver.getOutputPositions());
}
return stat;
}