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
ConstructorsConstructorDescriptionNotificationProviderInternalImpl(com.caplin.container.impl.Runtime runtime, NotificationConfiguration configuration, NotificationApplicationListener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseChannel(String username) voiddeleteNotification(String username, String notificationId) voidonCacheMiss(String subject) voidonContainerDiscard(String subject) voidonContainerRequest(String subject) voidonContribReceived(String subject, Map<String, String> fields) voidonRecordDiscard(String subject) voidonRecordRequest(String subject) openChannel(String username) voidpublishNotification(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:
publishNotificationin interfaceNotificationProviderInternal
-
deleteNotification
- Specified by:
deleteNotificationin interfaceNotificationProviderInternal
-
onContribReceived
- Specified by:
onContribReceivedin interfaceNotificationProviderInternal
-
onContainerRequest
- Specified by:
onContainerRequestin interfaceNotificationProviderInternal
-
onContainerDiscard
- Specified by:
onContainerDiscardin interfaceNotificationProviderInternal
-
onRecordRequest
- Specified by:
onRecordRequestin interfaceNotificationProviderInternal
-
onRecordDiscard
- Specified by:
onRecordDiscardin interfaceNotificationProviderInternal
-
openChannel
- Specified by:
openChannelin interfaceNotificationProviderInternal
-
closeChannel
- Specified by:
closeChannelin interfaceNotificationProviderInternal
-
onCacheMiss
- Specified by:
onCacheMissin interfacecom.caplin.container.impl.cache.CacheMissListener
-
getVersion
- Specified by:
getVersionin 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
-