public void SendCounts()
 {
     IEventPersistence redisPersistence = new RedisBooksleevePersistence();
     HashSet<string> keyNames = IncrementalKeyStore.Instance.GetKeys();
     if (keyNames.Count > 0)
     {
         EventCountMessage message = new EventCountMessage(redisPersistence.GetIncrementValues(keyNames));
         var context = GlobalHost.ConnectionManager.GetHubContext<EventCountViewerHub>();
         context.Clients.All.eventCountMessageReceived(message);
     }
 }
 public void EventCountNotifyEventViewers(EventCountMessage eventCounts)
 {
     Clients.All.eventCountMessageReceived(eventCounts.Items);
 }