test_class.declarator: custom = LogCustomizer
          .forLogger(OrderedPropertyIndexProvider.class.getName()).enable(Level.WARN).create()
test_class.modifier: private final
test_class.original_string: private final LogCustomizer custom = LogCustomizer
          .forLogger(OrderedPropertyIndexProvider.class.getName()).enable(Level.WARN).create();
test_class.type: LogCustomizer
test_class.var_name: custom
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/index/property/OrderedPropertyIndexProviderTest.java
test_class.identifier: OrderedPropertyIndexProviderTest
test_class.superclass: extends AbstractQueryTest
test_case.body: @Test
      public void multipleQueryRuns() {
          final int executions = 16;
          final int trackEvery = 5;
          final int numTraces = executions / trackEvery;
          OrderedPropertyIndexProvider.setThreshold(trackEvery);
          List<String> expectedLogs = Collections.nCopies(numTraces, OrderedIndex.DEPRECATION_MESSAGE);
          custom.starting();
          for (int i = 0; i < executions; i++) {
              executeQuery("SELECT * FROM [oak:Unstructured]", SQL2);
          }
          assertThat(custom.getLogs(), is(expectedLogs));
          custom.finished();
      }
test_case.class_method_signature: OrderedPropertyIndexProviderTest.multipleQueryRuns()
test_case.full_signature: @Test public void multipleQueryRuns()
test_case.identifier: multipleQueryRuns
test_case.invocations: setThreshold nCopies starting executeQuery assertThat getLogs is finished
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void multipleQueryRuns()
focal_class.declarator: LOG = LoggerFactory.getLogger(OrderedPropertyIndexProvider.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(OrderedPropertyIndexProvider.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: hits
focal_class.modifier: private static
focal_class.original_string: private static int hits;
focal_class.type: int
focal_class.var_name: hits
focal_class.declarator: threshold = OrderedIndex.TRACK_DEPRECATION_EVERY
focal_class.modifier: private static
focal_class.original_string: private static int threshold = OrderedIndex.TRACK_DEPRECATION_EVERY;
focal_class.type: int
focal_class.var_name: threshold
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/property/OrderedPropertyIndexProvider.java
focal_class.identifier: OrderedPropertyIndexProvider
focal_class.interfaces: implements QueryIndexProvider
focal_class.class_method_signature: OrderedPropertyIndexProvider.getQueryIndexes(NodeState nodeState)
focal_class.full_signature: @Override public List<? extends QueryIndex> getQueryIndexes(NodeState nodeState)
focal_class.identifier: getQueryIndexes
focal_class.modifiers: @Override public
focal_class.parameters: (NodeState nodeState)
focal_class.return: List<? extends QueryIndex>
focal_class.signature: List<? extends QueryIndex> getQueryIndexes(NodeState nodeState)
focal_class.class_method_signature: OrderedPropertyIndexProvider.getHits()
focal_class.full_signature: private synchronized int getHits()
focal_class.identifier: getHits
focal_class.modifiers: private synchronized
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getHits()
focal_class.class_method_signature: OrderedPropertyIndexProvider.setThreshold(int t)
focal_class.full_signature: static void setThreshold(int t)
focal_class.identifier: setThreshold
focal_class.modifiers: static
focal_class.parameters: (int t)
focal_class.return: void
focal_class.signature: void setThreshold(int t)
focal_method.body: static void setThreshold(int t) {
          threshold = t;
      }
focal_method.class_method_signature: OrderedPropertyIndexProvider.setThreshold(int t)
focal_method.full_signature: static void setThreshold(int t)
focal_method.identifier: setThreshold
focal_method.modifiers: static
focal_method.parameters: (int t)
focal_method.return: void
focal_method.signature: void setThreshold(int t)