public class SourceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.time.Duration |
active |
protected Error |
error |
protected External |
external |
protected JsonValue |
jv |
protected long |
lag |
protected java.lang.String |
name |
protected java.util.List<SubjectTransform> |
subjectTransforms |
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getActive()
Time since this peer was last seen
|
Error |
getError()
The last error
|
External |
getExternal()
Configuration referencing a stream source in another account or JetStream domain
|
long |
getLag()
How many uncommitted operations this peer is behind the leader
|
java.lang.String |
getName()
The name of the Stream being replicated
|
java.util.List<SubjectTransform> |
getSubjectTransforms()
The list of subject transforms, if any
|
java.lang.String |
toString() |
protected JsonValue jv
protected final java.lang.String name
protected final long lag
protected final java.time.Duration active
protected final External external
protected final java.util.List<SubjectTransform> subjectTransforms
protected final Error error
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public long getLag()
public java.time.Duration getActive()
public External getExternal()
public java.util.List<SubjectTransform> getSubjectTransforms()
public Error getError()