test_class.file: oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/standby/codec/MessagesTest.java
test_class.identifier: MessagesTest
test_case.body: @Test
      public void extractMessageFromEmptyPayload() throws Exception {
          assertNull(extractMessageFrom("Standby-CMD@"));
      }
test_case.class_method_signature: MessagesTest.extractMessageFromEmptyPayload()
test_case.full_signature: @Test public void extractMessageFromEmptyPayload()
test_case.identifier: extractMessageFromEmptyPayload
test_case.invocations: assertNull extractMessageFrom
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void extractMessageFromEmptyPayload()
focal_class.declarator: HEADER_RECORD = 0x00
focal_class.modifier: static final
focal_class.original_string: static final byte HEADER_RECORD = 0x00;
focal_class.type: byte
focal_class.var_name: HEADER_RECORD
focal_class.declarator: HEADER_SEGMENT = 0x01
focal_class.modifier: static final
focal_class.original_string: static final byte HEADER_SEGMENT = 0x01;
focal_class.type: byte
focal_class.var_name: HEADER_SEGMENT
focal_class.declarator: HEADER_BLOB = 0x02
focal_class.modifier: static final
focal_class.original_string: static final byte HEADER_BLOB = 0x02;
focal_class.type: byte
focal_class.var_name: HEADER_BLOB
focal_class.declarator: HEADER_REFERENCES = 0x03
focal_class.modifier: static final
focal_class.original_string: static final byte HEADER_REFERENCES = 0x03;
focal_class.type: byte
focal_class.var_name: HEADER_REFERENCES
focal_class.declarator: GET_HEAD = "h"
focal_class.modifier: static final
focal_class.original_string: static final String GET_HEAD = "h";
focal_class.type: String
focal_class.var_name: GET_HEAD
focal_class.declarator: GET_SEGMENT = "s."
focal_class.modifier: static final
focal_class.original_string: static final String GET_SEGMENT = "s.";
focal_class.type: String
focal_class.var_name: GET_SEGMENT
focal_class.declarator: GET_BLOB = "b."
focal_class.modifier: static final
focal_class.original_string: static final String GET_BLOB = "b.";
focal_class.type: String
focal_class.var_name: GET_BLOB
focal_class.declarator: GET_REFERENCES = "r."
focal_class.modifier: static final
focal_class.original_string: static final String GET_REFERENCES = "r.";
focal_class.type: String
focal_class.var_name: GET_REFERENCES
focal_class.declarator: MAGIC = "Standby-CMD@"
focal_class.modifier: private static final
focal_class.original_string: private static final String MAGIC = "Standby-CMD@";
focal_class.type: String
focal_class.var_name: MAGIC
focal_class.declarator: SEPARATOR = ":"
focal_class.modifier: private static final
focal_class.original_string: private static final String SEPARATOR = ":";
focal_class.type: String
focal_class.var_name: SEPARATOR
focal_class.file: oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/standby/codec/Messages.java
focal_class.identifier: Messages
focal_class.class_method_signature: Messages.Messages()
focal_class.full_signature: private  Messages()
focal_class.identifier: Messages
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Messages()
focal_class.class_method_signature: Messages.newRequest(String clientId, String body, boolean delimited)
focal_class.full_signature: private static String newRequest(String clientId, String body, boolean delimited)
focal_class.identifier: newRequest
focal_class.modifiers: private static
focal_class.parameters: (String clientId, String body, boolean delimited)
focal_class.return: String
focal_class.signature: String newRequest(String clientId, String body, boolean delimited)
focal_class.class_method_signature: Messages.newGetHeadRequest(String clientId, boolean delimited)
focal_class.full_signature: static String newGetHeadRequest(String clientId, boolean delimited)
focal_class.identifier: newGetHeadRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, boolean delimited)
focal_class.return: String
focal_class.signature: String newGetHeadRequest(String clientId, boolean delimited)
focal_class.class_method_signature: Messages.newGetHeadRequest(String clientId)
focal_class.full_signature: static String newGetHeadRequest(String clientId)
focal_class.identifier: newGetHeadRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId)
focal_class.return: String
focal_class.signature: String newGetHeadRequest(String clientId)
focal_class.class_method_signature: Messages.newGetSegmentRequest(String clientId, String segmentId, boolean delimited)
focal_class.full_signature: static String newGetSegmentRequest(String clientId, String segmentId, boolean delimited)
focal_class.identifier: newGetSegmentRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, String segmentId, boolean delimited)
focal_class.return: String
focal_class.signature: String newGetSegmentRequest(String clientId, String segmentId, boolean delimited)
focal_class.class_method_signature: Messages.newGetSegmentRequest(String clientId, String segmentId)
focal_class.full_signature: static String newGetSegmentRequest(String clientId, String segmentId)
focal_class.identifier: newGetSegmentRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, String segmentId)
focal_class.return: String
focal_class.signature: String newGetSegmentRequest(String clientId, String segmentId)
focal_class.class_method_signature: Messages.newGetReferencesRequest(String clientId, String segmentId, boolean delimited)
focal_class.full_signature: static String newGetReferencesRequest(String clientId, String segmentId, boolean delimited)
focal_class.identifier: newGetReferencesRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, String segmentId, boolean delimited)
focal_class.return: String
focal_class.signature: String newGetReferencesRequest(String clientId, String segmentId, boolean delimited)
focal_class.class_method_signature: Messages.newGetReferencesRequest(String clientId, String segmentId)
focal_class.full_signature: static String newGetReferencesRequest(String clientId, String segmentId)
focal_class.identifier: newGetReferencesRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, String segmentId)
focal_class.return: String
focal_class.signature: String newGetReferencesRequest(String clientId, String segmentId)
focal_class.class_method_signature: Messages.newGetBlobRequest(String clientId, String blobId, boolean delimited)
focal_class.full_signature: static String newGetBlobRequest(String clientId, String blobId, boolean delimited)
focal_class.identifier: newGetBlobRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, String blobId, boolean delimited)
focal_class.return: String
focal_class.signature: String newGetBlobRequest(String clientId, String blobId, boolean delimited)
focal_class.class_method_signature: Messages.newGetBlobRequest(String clientId, String blobId)
focal_class.full_signature: static String newGetBlobRequest(String clientId, String blobId)
focal_class.identifier: newGetBlobRequest
focal_class.modifiers: static
focal_class.parameters: (String clientId, String blobId)
focal_class.return: String
focal_class.signature: String newGetBlobRequest(String clientId, String blobId)
focal_class.class_method_signature: Messages.extractMessageFrom(String payload)
focal_class.full_signature: static String extractMessageFrom(String payload)
focal_class.identifier: extractMessageFrom
focal_class.modifiers: static
focal_class.parameters: (String payload)
focal_class.return: String
focal_class.signature: String extractMessageFrom(String payload)
focal_class.class_method_signature: Messages.extractClientFrom(String payload)
focal_class.full_signature: static String extractClientFrom(String payload)
focal_class.identifier: extractClientFrom
focal_class.modifiers: static
focal_class.parameters: (String payload)
focal_class.return: String
focal_class.signature: String extractClientFrom(String payload)
focal_method.body: static String extractMessageFrom(String payload) {
          if (payload.startsWith(MAGIC) && payload.length() > MAGIC.length()) {
              int i = payload.indexOf(SEPARATOR);
              return payload.substring(i + 1);
          }
          return null;
      }
focal_method.class_method_signature: Messages.extractMessageFrom(String payload)
focal_method.full_signature: static String extractMessageFrom(String payload)
focal_method.identifier: extractMessageFrom
focal_method.invocations: startsWith length length indexOf substring
focal_method.modifiers: static
focal_method.parameters: (String payload)
focal_method.return: String
focal_method.signature: String extractMessageFrom(String payload)