* // Can block when (for example) the implemention's ThreadPool queue is full Object o =
* service.putNotification(notif).get(); if (o instanceof DeliveryStatus) { DeliveryStatus ds =
* (DeliveryStatus)o; LOG.debug("Notification was received by {} listeners",
* ds.getListenerCount();); } }
* // Can block when (for example) the implemention's ThreadPool queue is full Object o =
* service.putNotification(notif).get(); if (o instanceof DeliveryStatus) { DeliveryStatus ds =
* (DeliveryStatus)o; LOG.debug("Notification was received by {} listeners",
* ds.getListenerCount();); } }