MCPcopy Create free account
hub / github.com/apache/brpc / expose

Method expose

src/bvar/variable.h:149–152  ·  view source on GitHub ↗

Expose this variable globally so that it's counted in following functions: list_exposed count_exposed describe_exposed find_exposed Return 0 on success, -1 otherwise.

Source from the content-addressed store, hash-verified

147 // find_exposed
148 // Return 0 on success, -1 otherwise.
149 int expose(const butil::StringPiece& name,
150 DisplayFilter display_filter = DISPLAY_ON_ALL) {
151 return expose_impl(butil::StringPiece(), name, display_filter);
152 }
153
154 // Expose this variable with a prefix.
155 // Example:

Callers 15

mainFunction · 0.45
ExposeFunction · 0.45
initMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
ExposeLBMethod · 0.45
ExposeMethod · 0.45
initMethod · 0.45
print_rq_sizesMethod · 0.45

Calls

no outgoing calls

Tested by 5

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36