MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / answer

Method answer

test/storage/MockBase.java:1454–1459  ·  view source on GitHub ↗
(InvocationOnMock invocation)

Source from the content-addressed store, hash-verified

1452 // capture the scanner fields when set
1453 doAnswer(new Answer<Object>() {
1454 @Override
1455 public Object answer(InvocationOnMock invocation) throws Throwable {
1456 final Object[] args = invocation.getArguments();
1457 filter = new KeyRegexpFilter((String)args[0], Const.ASCII_CHARSET);
1458 return null;
1459 }
1460 }).when(mock_scanner).setKeyRegexp(anyString());
1461
1462 doAnswer(new Answer<Object>() {

Callers

nothing calls this directly

Calls 15

hasNextMethod · 0.95
advanceMethod · 0.95
bytesToStringMethod · 0.80
putMethod · 0.80
compileMethod · 0.80
getCharsetMethod · 0.80
containsMethod · 0.80
isEmptyMethod · 0.80
iteratorMethod · 0.65
addMethod · 0.45
toStringMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected