Skip to content

Commit

Permalink
Remove has remote parent from the SpanData. (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Drutu committed Apr 10, 2019
1 parent 723435a commit 55b6b0d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions api/src/main/java/openconsensus/trace/data/SpanData.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public abstract class SpanData {
* @param context the {@code SpanContext} of the {@code Span}.
* @param parentSpanId the parent {@code SpanId} of the {@code Span}. {@code null} if the {@code
* Span} is a root.
* @param hasRemoteParent {@code true} if the parent {@code Span} is remote. {@code null} if this
* is a root span.
* @param name the name of the {@code Span}.
* @param kind the kind of the {@code Span}.
* @param startTimestamp the start {@code Timestamp} of the {@code Span}.
Expand All @@ -67,7 +65,6 @@ public abstract class SpanData {
public static SpanData create(
SpanContext context,
@Nullable SpanId parentSpanId,
@Nullable Boolean hasRemoteParent,
String name,
@Nullable Kind kind,
Timestamp startTimestamp,
Expand All @@ -82,7 +79,6 @@ public static SpanData create(
return new AutoValue_SpanData(
context,
parentSpanId,
hasRemoteParent,
name,
kind,
startTimestamp,
Expand Down Expand Up @@ -112,17 +108,6 @@ public static SpanData create(
@Nullable
public abstract SpanId getParentSpanId();

/**
* Returns {@code true} if the parent is on a different process. {@code null} if this is a root
* span.
*
* @return {@code true} if the parent is on a different process. {@code null} if this is a root
* span.
* @since 0.1.0
*/
@Nullable
public abstract Boolean getHasRemoteParent();

/**
* Returns the name of this {@code Span}.
*
Expand Down

0 comments on commit 55b6b0d

Please sign in to comment.