本文整理匯總了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;
}