Interface PostgresChannelMessageTableSubscriber.Subscription
- All Known Implementing Classes:
- PostgresSubscribableChannel
- Enclosing class:
- PostgresChannelMessageTableSubscriber
public static interface PostgresChannelMessageTableSubscriber.Subscription
A subscription to a 
PostgresChannelMessageTableSubscriber for
 receiving push notifications for new messages that are added to
 a JdbcChannelMessageStore.- 
Method SummaryModifier and TypeMethodDescriptionReturn the group id for which this subscription receives notifications.Return the region for which this subscription receives notifications.voidIndicate that a message was added to the represented region and group id.
- 
Method Details- 
notifyUpdatevoid notifyUpdate()Indicate that a message was added to the represented region and group id. Note that this method might also be invoked if there are no new messages to read, for example if another subscription already read those messages or if a new messages might have arrived during a temporary connection loss.
- 
getRegionString getRegion()Return the region for which this subscription receives notifications.- Returns:
- The relevant region of the JdbcChannelMessageStore.
 
- 
getGroupIdObject getGroupId()Return the group id for which this subscription receives notifications.- Returns:
- The group id of the PostgresSubscribableChannel.
 
 
-