ApnsMessageStatsSysLogger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package apns.netty.syslog; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.scheduling.annotation.Scheduled; | |
import org.springframework.stereotype.Component; | |
/** | |
* @author arung | |
*/ | |
@Component | |
public class ApnsMessageStatsSysLogger { | |
@Autowired | |
ApnsSysLogger apnsSysLogger; | |
@Scheduled(cron = "${APNSConfig.status.delay}") | |
public void statusLog() { | |
// ApnsMessageStatsSysLogger.LOGGER.trace("Doing status logs"); | |
apnsSysLogger.sendStatusSyslog(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment