test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterViewTest.java
test_class.identifier: ClusterViewTest
test_case.body: @Test
      public void testWithRecoveringAndBacklog() throws Exception {
          String clusterId = UUID.randomUUID().toString();
          ClusterViewBuilder builder = new ClusterViewBuilder(10, 2);
          ClusterView view = builder.active(2, 3).recovering(4).inactive(5, 6).backlogs(5).asView(clusterId);
  
          JsonObject o = asJsonObject(view);
          Map<String, String> props = o.getProperties();
          assertEquals("10", props.get("seq"));
          assertEquals(clusterId, unwrapString(props.get("id")));
          assertEquals("2", props.get("me"));
          assertEquals("false", props.get("final"));
          assertEquals(asJsonArray(2, 3), props.get("active"));
          assertEquals(asJsonArray(4, 5), props.get("deactivating"));
          assertEquals(asJsonArray(6), props.get("inactive"));
      }
test_case.class_method_signature: ClusterViewTest.testWithRecoveringAndBacklog()
test_case.full_signature: @Test public void testWithRecoveringAndBacklog()
test_case.identifier: testWithRecoveringAndBacklog
test_case.invocations: toString randomUUID asView backlogs inactive recovering active asJsonObject getProperties assertEquals get assertEquals unwrapString get assertEquals get assertEquals get assertEquals asJsonArray get assertEquals asJsonArray get assertEquals asJsonArray get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithRecoveringAndBacklog()
focal_class.declarator: json
focal_class.modifier: private final
focal_class.original_string: private final String json;
focal_class.type: String
focal_class.var_name: json
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/ClusterView.java
focal_class.identifier: ClusterView
focal_class.class_method_signature: ClusterView.fromDocument(int localInstanceId, String clusterId, ClusterViewDocument clusterViewDoc, Set<Integer> backlogIds)
focal_class.full_signature: static ClusterView fromDocument(int localInstanceId, String clusterId, ClusterViewDocument clusterViewDoc, Set<Integer> backlogIds)
focal_class.identifier: fromDocument
focal_class.modifiers: static
focal_class.parameters: (int localInstanceId, String clusterId, ClusterViewDocument clusterViewDoc, Set<Integer> backlogIds)
focal_class.return: ClusterView
focal_class.signature: ClusterView fromDocument(int localInstanceId, String clusterId, ClusterViewDocument clusterViewDoc, Set<Integer> backlogIds)
focal_class.class_method_signature: ClusterView.ClusterView(final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.full_signature:   ClusterView(final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.identifier: ClusterView
focal_class.parameters: (final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.signature:  ClusterView(final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.class_method_signature: ClusterView.asJson(final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.full_signature: private String asJson(final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.identifier: asJson
focal_class.modifiers: private
focal_class.parameters: (final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.return: String
focal_class.signature: String asJson(final long viewSeqNum, final boolean viewFinal, final String clusterId, final int localId,
              final Set<Integer> activeIds, final Set<Integer> deactivatingIds, final Set<Integer> inactiveIds)
focal_class.class_method_signature: ClusterView.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ClusterView.asDescriptorValue()
focal_class.full_signature:  String asDescriptorValue()
focal_class.identifier: asDescriptorValue
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String asDescriptorValue()
focal_method.body: @Override
      public String toString() {
          return "a ClusterView[" + json + "]";
      }
focal_method.class_method_signature: ClusterView.toString()
focal_method.full_signature: @Override public String toString()
focal_method.identifier: toString
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toString()