Package com.caplin.motif
Class SubjectMessage<T extends SubjectInfo>
java.lang.Object
com.caplin.motif.SubjectMessage<T>
- Direct Known Subclasses:
ESPQuote
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalLatencyTimestamp
(String name, Instant latencyTimestamp) void
Adds a field to this Event.void
boolean
int
hashCode()
void
setInitialLatencyTimestamp
(Instant initialLatencyTimestamp) toString()
-
Field Details
-
fields
-
info
-
-
Constructor Details
-
SubjectMessage
-
-
Method Details
-
getSubjectInfo
-
addField
Adds a field to this Event.- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
addFields
-
getFields
-
setInitialLatencyTimestamp
-
getLatencyInitialTimestamp
-
addAdditionalLatencyTimestamp
-
getAdditionalLatencyTimestamps
-
equals
-
hashCode
public int hashCode() -
toString
-