@Override public void sendNotification(String token, Payload payload) { PushNotification notification = new PushNotification(); notification.setId(IDENTIFIER.incrementAndGet()); notification.setExpire(EXPIRE); notification.setToken(token); notification.setPayload(payload); sendNotification(notification); }