twitter4j
Class TwitterAPIMonitor
java.lang.Object
twitter4j.TwitterAPIMonitor
public class TwitterAPIMonitor
- extends java.lang.Object
Singleton instance of all Twitter API monitoring. Handles URL parsing and "wire off" logic.
We could avoid using a singleton here if Twitter objects were instantiated
from a factory.
- Since:
- Twitter4J 2.2.1
- Author:
- Nick Dellamaggiore (nick.dellamaggiore gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final twitter4j.internal.logging.Logger logger
pattern
private static final java.util.regex.Pattern pattern
SINGLETON
private static final TwitterAPIMonitor SINGLETON
STATISTICS
private final APIStatistics STATISTICS
TwitterAPIMonitor
private TwitterAPIMonitor()
- Constructor
getInstance
public static TwitterAPIMonitor getInstance()
getStatistics
public APIStatisticsMBean getStatistics()
methodCalled
void methodCalled(java.lang.String twitterUrl,
long elapsedTime,
boolean success)