Class NotificationProviderInternalImpl
java.lang.Object
com.caplin.datasource.notification.impl.NotificationProviderInternalImpl
- All Implemented Interfaces:
com.caplin.container.impl.cache.CacheMissListener
,NotificationProviderInternal
@JMXBean
public class NotificationProviderInternalImpl
extends Object
implements NotificationProviderInternal, com.caplin.container.impl.cache.CacheMissListener
-
Constructor Summary
ConstructorDescriptionNotificationProviderInternalImpl
(com.caplin.container.impl.Runtime runtime, NotificationConfiguration configuration, NotificationApplicationListener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
closeChannel
(String username) void
deleteNotification
(String username, String notificationId) void
onCacheMiss
(String subject) void
onContainerDiscard
(String subject) void
onContainerRequest
(String subject) void
onContribReceived
(String subject, Map<String, String> fields) void
onRecordDiscard
(String subject) void
onRecordRequest
(String subject) openChannel
(String username) void
publishNotification
(String username, Notification notification) toString()
-
Constructor Details
-
NotificationProviderInternalImpl
public NotificationProviderInternalImpl(com.caplin.container.impl.Runtime runtime, NotificationConfiguration configuration, NotificationApplicationListener listener)
-
-
Method Details
-
publishNotification
- Specified by:
publishNotification
in interfaceNotificationProviderInternal
-
deleteNotification
- Specified by:
deleteNotification
in interfaceNotificationProviderInternal
-
onContribReceived
- Specified by:
onContribReceived
in interfaceNotificationProviderInternal
-
onContainerRequest
- Specified by:
onContainerRequest
in interfaceNotificationProviderInternal
-
onContainerDiscard
- Specified by:
onContainerDiscard
in interfaceNotificationProviderInternal
-
onRecordRequest
- Specified by:
onRecordRequest
in interfaceNotificationProviderInternal
-
onRecordDiscard
- Specified by:
onRecordDiscard
in interfaceNotificationProviderInternal
-
openChannel
- Specified by:
openChannel
in interfaceNotificationProviderInternal
-
closeChannel
- Specified by:
closeChannel
in interfaceNotificationProviderInternal
-
onCacheMiss
- Specified by:
onCacheMiss
in interfacecom.caplin.container.impl.cache.CacheMissListener
-
getVersion
- Specified by:
getVersion
in interfaceNotificationProviderInternal
-
getChannelCount
@JMXBeanAttribute(name="channel-count", description="Total open channels associated with this provider") public Long getChannelCount() -
getChannelNamespace
@JMXBeanAttribute(name="channel-namespace", description="Namespace this channel is registered on") public String getChannelNamespace() -
getItemNamespace
@JMXBeanAttribute(name="item-namespace", description="Namespace items associated with this channel are registered on") public String getItemNamespace() -
getInstantiationTime
@JMXBeanAttribute(name="instantiation-time", description="Time at which this notification provider was instantiated") public Date getInstantiationTime() -
isNotificationUsingImageFlag
@JMXBeanAttribute(name="notification-image-flags", description="Notification image flags are being used when true") public Boolean isNotificationUsingImageFlag() -
getSourceName
@JMXBeanAttribute(name="source-name", description="Source name associated with this provider") public String getSourceName() -
getMonitoringKey
-
toString
-