MCPcopy Create free account
hub / github.com/apache/mesos / incrementOperationState

Method incrementOperationState

src/master/metrics.cpp:681–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679
680
681void Metrics::incrementOperationState(
682 Offer::Operation::Type type,
683 const OperationState& state)
684{
685 operation_states.update(state, 1);
686 if (operation_type_states.count(type)) {
687 operation_type_states.at(type).update(state, 1);
688 }
689}
690
691
692void Metrics::decrementOperationState(

Callers 4

dropMethod · 0.80
__removeSlaveMethod · 0.80
foreachvalueFunction · 0.80
addOperationMethod · 0.80

Calls 3

atMethod · 0.80
updateMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected