code: @Override
  	public void addEventHandler(EventHandler eventHandler) {
  		Preconditions.checkNotNull(eventHandler.getName(), "Missing Name");
  		if(getEventHandler(eventHandler.getName()) != null) {
  			throw new ApplicationException(Code.CONFLICT, "EventHandler with name " + eventHandler.getName() + " already exists!");
  		}
  		index(eventHandler);
  		dynoClient.hset(nsKey(EVENT_HANDLERS), eventHandler.getName(), toJson(eventHandler));
  		recordRedisDaoRequests("addEventHandler");
  	}
docs: Event Handler APIs