Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ public String endpoint() {
return "v0.5";
}

// Visible for tests
Map<Object, Integer> getEncoding() {
return encoding;
}

// Visible for tests
GrowableBuffer getDictionary() {
return dictionary;
}

private static class DictionaryMapper implements Mapper<Object> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ void setLongRunningTrackedState(int state) {
LONG_RUNNING_STATE.set(this, state);
}

// @VisibleForTesting
int getPendingReferenceCount() {
return pendingReferenceCount;
}

boolean empty() {
return 0 >= COMPLETED_SPAN_COUNT.get(this) + PENDING_REFERENCE_COUNT.get(this);
}
Expand Down
Loading
Loading