public class CqConflatable
extends java.lang.Object
implements org.apache.geode.internal.cache.Conflatable, java.io.Serializable
Conflatable interface. Objects of this class will be add to
the queue| Constructor and Description |
|---|
CqConflatable() |
CqConflatable(java.lang.Object key,
java.lang.Object value,
org.apache.geode.internal.cache.EventID eventId,
boolean conflate,
java.lang.String regionname)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.geode.internal.cache.EventID |
getEventId()
Return this event's identifier
|
java.lang.Object |
getKeyToConflate()
Returns the key for this
Conflatable |
java.lang.String |
getRegionToConflate()
Returns the name of the region for this
Conflatable |
java.lang.Object |
getValueToConflate()
Returns the value for this
Conflatable |
void |
setLatestValue(java.lang.Object value)
Sets the latest value for this
Conflatable |
boolean |
shouldBeConflated()
Returns whether the object should be conflated
|
public CqConflatable()
public CqConflatable(java.lang.Object key,
java.lang.Object value,
org.apache.geode.internal.cache.EventID eventId,
boolean conflate,
java.lang.String regionname)
key - - The key for this entryvalue - - The value for this entryeventId - - eventID object for this entryconflate - - conflate it trueregionname - - The region to which this entry belongspublic boolean shouldBeConflated()
shouldBeConflated in interface org.apache.geode.internal.cache.Conflatablepublic java.lang.String getRegionToConflate()
ConflatablegetRegionToConflate in interface org.apache.geode.internal.cache.ConflatableConflatablepublic java.lang.Object getKeyToConflate()
ConflatablegetKeyToConflate in interface org.apache.geode.internal.cache.ConflatableConflatablepublic java.lang.Object getValueToConflate()
ConflatablegetValueToConflate in interface org.apache.geode.internal.cache.ConflatableConflatablepublic void setLatestValue(java.lang.Object value)
ConflatablesetLatestValue in interface org.apache.geode.internal.cache.Conflatablevalue - The latest valuepublic org.apache.geode.internal.cache.EventID getEventId()
getEventId in interface org.apache.geode.internal.cache.Conflatable