Interface RecordType1Message
-
- All Superinterfaces:
Message
,RecordMessage
public interface RecordType1Message extends RecordMessage
Interface for sending Type 1 Record messages, adding fields by field name.
An object implementing this interface can not be instantiated directly, but can be constructed using the
MessageFactory
that is available on thePublisher
interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isNoCache()
Gets whether this type1 record message should be cached in the DataSource (both remote and local ).void
setNoCache(boolean noCache)
Sets whether this Type 1 record message should be cached in the DataSource (both remote and local).-
Methods inherited from interface com.caplin.datasource.messaging.Message
getMessageType, getSubject, isImage, setImage
-
Methods inherited from interface com.caplin.datasource.messaging.record.RecordMessage
addLatencyChainPoint, clearFields, containsField, getField, getFields, removeField, setField, setInitialLatencyChainTime
-
-
-
-
Method Detail
-
setNoCache
void setNoCache(boolean noCache)
Sets whether this Type 1 record message should be cached in the DataSource (both remote and local).
If you do not call this method then by default all
RecordType1Message
s have the value of no cache set tofalse
.- Parameters:
noCache
- true if this record should not be cached in the remote DataSource's cache, false if it should be cached.
-
isNoCache
boolean isNoCache()
Gets whether this type1 record message should be cached in the DataSource (both remote and local ).
- Returns:
- true if this record should not be cached in the remote DataSource's cache, false if it should be cached.
-
-