List of usage examples for twitter4j StallWarning getCode
public String getCode()
From source file:com.github.jcustenborder.kafka.connect.twitter.TwitterSourceTask.java
License:Apache License
@Override public void onStallWarning(StallWarning stallWarning) { if (log.isWarnEnabled()) { log.warn("code = '{}' percentFull = '{}' - {}", stallWarning.getCode(), stallWarning.getPercentFull(), stallWarning.getMessage()); }// ww w . j a v a 2 s. c o m }
From source file:com.narvis.frontend.twitter.input.Input.java
License:Open Source License
@Override public void onStallWarning(StallWarning sw) { NarvisLogger.logInfo("Stallwarning received, code : " + sw.getCode() + " message : " + sw.getMessage()); }