PingQueueProcessor.java


current inspection = 2009-09-04 18:33:31 (id #2) base = 2009-09-04 18:33:31 (id #1)

Filter Options
History:
+ added
- dropped
U unchanged
Annotation Kind:
pre
presumption
post
unanalyzed
test


  • + PingQueueProcessor getInstance()

  • -/+ Kind Annotation Text Date
    +preinit'ed(theInstance)2009-09-04 18:33:31
    +postinit'ed(return_value)2009-09-04 18:33:31
    +postreturn_value == theInstance2009-09-04 18:33:31

  • + void handlePingError(PingQueueEntry, Exception)

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(org/apache/roller/weblogger/pojos/Pi ngQueueEntry.pcInheritedFieldCount)2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy.emf != null2009-09-04 18:33:31
    +preex != null2009-09-04 18:33:31
    +preinit'ed(pingQueueEntry.pcStateManager)2009-09-04 18:33:31
    +preorg/apache/roller/weblogger/business/jpa/JPAPingQue ueManagerImpl.log != null2009-09-04 18:33:31
    +preorg/apache/roller/weblogger/config/WebloggerConfig. config != null2009-09-04 18:33:31
    +preorg/apache/roller/weblogger/config/WebloggerConfig. log != null2009-09-04 18:33:31
    +prepingQueueEntry != null2009-09-04 18:33:31
    +prepingQueueEntry.attempts <= 232-22009-09-04 18:33:31
    +prethis.pingQueueMgr != null2009-09-04 18:33:31
    +prethis.pingQueueMgr.strategy != null2009-09-04 18:33:31
    +prethis.pingQueueMgr.strategy.threadLocalEntityManager != null2009-09-04 18:33:31
    +presumptionorg.apache.commons.logging.LogFactory:getLog(... )@41 != null2009-09-04 18:33:31
    +postpingQueueEntry.attempts == old pingQueueEntry. attempts + 12009-09-04 18:33:31
    +postpingQueueEntry.attempts >= -231+12009-09-04 18:33:31
    +unanalyzedcall on java.lang.Integer:parseInt2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:trim2009-09-04 18:33:31
    +unanalyzedcall on java.lang.ThreadLocal:get2009-09-04 18:33:31
    +unanalyzedcall on java.lang.ThreadLocal:set2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Throwable:__curr_excep_obj2009-09-04 18:33:31
    +unanalyzedcall on java.net.MalformedURLException:instanceof2009-09-04 18:33:31
    +unanalyzedcall on java.net.UnknownHostException:instanceof2009-09-04 18:33:31
    +unanalyzedcall on java.util.Properties:getProperty2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:contains2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:getTransact ion2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:persist2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:remove2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityTransaction:begin2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityTransaction:isActiv e2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:debug2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:error2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:isDebugEnabl ed2009-09-04 18:33:31
    +unanalyzedcall on org.apache.openjpa.enhance.StateManager:acc essingField2009-09-04 18:33:31

  • + void init()

  • -/+ Kind Annotation Text Date
    +pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider.webloggerInstance != null2009-09-04 18:33:31
    +preinit'ed(theInstance)2009-09-04 18:33:31
    +presumptionorg.apache.commons.logging.LogFactory:getLog(... )@41 != null2009-09-04 18:33:31
    +postinit'ed(new PingQueueProcessor(init#1). pingQueueMgr)2009-09-04 18:33:31
    +postnew PingQueueProcessor(init#1) num objects <= 12009-09-04 18:33:31
    +posttheInstance != null2009-09-04 18:33:31
    +posttheInstance == One-of{old theInstance, &new PingQueueProcessor(init#1)}2009-09-04 18:33:31
    +unanalyzedcall on getPingQueueManager2009-09-04 18:33:31
    +unanalyzedcall on getWeblogger2009-09-04 18:33:31
    +test_vectororg.apache.commons.logging.Log:isDebugEnabled(... )@69: {0}, {1}2009-09-04 18:33:31
    +test_vectortheInstance: Addr_Set{null}, Inverse{null}2009-09-04 18:33:31

  • + void org.apache.roller.weblogger.business.pings.PingQueueProcessor()

  • -/+ Kind Annotation Text Date
    +preorg/apache/roller/weblogger/business/WebloggerFacto ry.webloggerProvider != null2009-09-04 18:33:31
    +preorg/apache/roller/weblogger/business/WebloggerFacto ry.webloggerProvider.webloggerInstance != null2009-09-04 18:33:31
    +presumptiongetWeblogger(...)@54 init'ed2009-09-04 18:33:31
    +postinit'ed(this.pingQueueMgr)2009-09-04 18:33:31
    +unanalyzedcall on getWeblogger2009-09-04 18:33:31

  • + org.apache.roller.weblogger.business.pings.PingQueueProcessor__static_init

  • -/+ Kind Annotation Text Date
    +postinit'ed(logger)2009-09-04 18:33:31

  • + void processQueue()

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(org/apache/roller/weblogger/config/W ebloggerRuntimeConfig.absoluteContextURL)2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider.webloggerInstance != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/business/jpa/JPA PingQueueManagerImpl.log != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/config/Weblogger Config.config != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/config/Weblogger Config.log != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/config/Weblogger RuntimeConfig.log != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/pojos/PingQueueE ntry.pcInheritedFieldCount <= 232-52009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy.emf != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy.threadLocalEntity Manager != null2009-09-04 18:33:31
    +presumptionjava.util.Iterator:next(...)@102 != null2009-09-04 18:33:31
    +presumptionjavax.persistence.Query:getResultList(...)@104 != null2009-09-04 18:33:31
    +presumptionorg.apache.commons.logging.LogFactory:getLog(... )@41 != null2009-09-04 18:33:31
    +presumptionpingQueueEntry.attempts@102 <= 232-22009-09-04 18:33:31
    +presumptionpingQueueEntry.pingTarget@102 != null2009-09-04 18:33:31
    +presumptionpingQueueEntry.website@102 != null2009-09-04 18:33:31
    +unanalyzedcall on getBooleanProperty2009-09-04 18:33:31
    +unanalyzedcall on getLogPingsOnly2009-09-04 18:33:31
    +unanalyzedcall on getMaxPingAttempts2009-09-04 18:33:31
    +unanalyzedcall on getPropertiesManager2009-09-04 18:33:31
    +unanalyzedcall on getProperty2009-09-04 18:33:31
    +unanalyzedcall on getVariantOptions2009-09-04 18:33:31
    +unanalyzedcall on getWeblogger2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Boolean2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Boolean:booleanValue2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Boolean:valueOf2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Class:getName2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Exception:getMessage2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Integer:parseInt2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Object:getClass2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Object:toString2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:length2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:trim2009-09-04 18:33:31
    +unanalyzedcall on java.lang.ThreadLocal:get2009-09-04 18:33:31
    +unanalyzedcall on java.lang.ThreadLocal:set2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Throwable:__curr_excep_obj2009-09-04 18:33:31
    +unanalyzedcall on java.net.MalformedURLException:instanceof2009-09-04 18:33:31
    +unanalyzedcall on java.net.URL2009-09-04 18:33:31
    +unanalyzedcall on java.net.UnknownHostException:instanceof2009-09-04 18:33:31
    +unanalyzedcall on java.util.ArrayList2009-09-04 18:33:31
    +unanalyzedcall on java.util.List:add2009-09-04 18:33:31
    +unanalyzedcall on java.util.List:toArray2009-09-04 18:33:31
    +unanalyzedcall on java.util.Map:get2009-09-04 18:33:31
    +unanalyzedcall on java.util.Properties:getProperty2009-09-04 18:33:31
    +unanalyzedcall on java.util.Set:contains2009-09-04 18:33:31
    +unanalyzedcall on java.util.Set:isEmpty2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:contains2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:createNamed Query2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:find2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:getTransact ion2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:persist2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:remove2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityTransaction:begin2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityTransaction:isActiv e2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.Query:getResultList2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.Query:setFlushMode2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:debug2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:error2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:info2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:isDebugEnabl ed2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:warn2009-09-04 18:33:31
    +unanalyzedcall on org.apache.openjpa.enhance.StateManager:acc essingField2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. PingTarget:getPingUrl2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. RuntimeConfigProperty:getValue2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getAbsoluteURL2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getName2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClient2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClient:execu te2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClient:setCo nfig2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClientConfig Impl2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClientConfig Impl:setServerURL2009-09-04 18:33:31
    +unanalyzedcall on removeQueueEntry2009-09-04 18:33:31
    +unanalyzedcall on saveQueueEntry2009-09-04 18:33:31
    +test_vectorjava.util.Iterator:hasNext(...)@101: {0}, {1}2009-09-04 18:33:31
    +test_vectororg.apache.commons.logging.Log:isDebugEnabled(... )@105: {0}, {1}2009-09-04 18:33:31
    +test_vectororg.apache.commons.logging.Log:isDebugEnabled(... )@96: {0}, {1}2009-09-04 18:33:31

  • + void processQueueEntry(PingQueueEntry)

  • -/+ Kind Annotation Text Date
    +pre(soft) org/apache/roller/weblogger/business/jpa/JPA PingQueueManagerImpl.log != null2009-09-04 18:33:31
    +pre(soft) org/apache/roller/weblogger/pojos/PingQueueE ntry.pcInheritedFieldCount <= 232-52009-09-04 18:33:31
    +pre(soft) pingQueueEntry.attempts <= 232-22009-09-04 18:33:31
    +pre(soft) pingQueueEntry.pingTarget != null2009-09-04 18:33:31
    +pre(soft) pingQueueEntry.website != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy.emf != null2009-09-04 18:33:31
    +pre(soft) this.pingQueueMgr.strategy.threadLocalEntity Manager != null2009-09-04 18:33:31
    +preinit'ed(pingQueueEntry.pcStateManager)2009-09-04 18:33:31
    +preorg/apache/roller/weblogger/config/WebloggerConfig. config != null2009-09-04 18:33:31
    +preorg/apache/roller/weblogger/config/WebloggerConfig. log != null2009-09-04 18:33:31
    +prepingQueueEntry != null2009-09-04 18:33:31
    +presumptionorg.apache.commons.logging.LogFactory:getLog(... )@41 != null2009-09-04 18:33:31
    +post(soft) init'ed(pingQueueEntry.attempts)2009-09-04 18:33:31
    +postpingQueueEntry.attempts == One-of{old pingQueueEntry.attempts, old pingQueueEntry. attempts + 1}2009-09-04 18:33:31
    +unanalyzedcall on getMaxPingAttempts2009-09-04 18:33:31
    +unanalyzedcall on getVariantOptions2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Boolean:booleanValue2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Boolean:valueOf2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Class:getName2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Exception:getMessage2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Integer:parseInt2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Object:getClass2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Object:toString2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:trim2009-09-04 18:33:31
    +unanalyzedcall on java.lang.ThreadLocal:get2009-09-04 18:33:31
    +unanalyzedcall on java.lang.ThreadLocal:set2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Throwable:__curr_excep_obj2009-09-04 18:33:31
    +unanalyzedcall on java.net.MalformedURLException:instanceof2009-09-04 18:33:31
    +unanalyzedcall on java.net.URL2009-09-04 18:33:31
    +unanalyzedcall on java.net.UnknownHostException:instanceof2009-09-04 18:33:31
    +unanalyzedcall on java.util.ArrayList2009-09-04 18:33:31
    +unanalyzedcall on java.util.List:add2009-09-04 18:33:31
    +unanalyzedcall on java.util.List:toArray2009-09-04 18:33:31
    +unanalyzedcall on java.util.Map:get2009-09-04 18:33:31
    +unanalyzedcall on java.util.Properties:getProperty2009-09-04 18:33:31
    +unanalyzedcall on java.util.Set:contains2009-09-04 18:33:31
    +unanalyzedcall on java.util.Set:isEmpty2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:contains2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:getTransact ion2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:persist2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManager:remove2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityTransaction:begin2009-09-04 18:33:31
    +unanalyzedcall on javax.persistence.EntityTransaction:isActiv e2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:debug2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:error2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:isDebugEnabl ed2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:warn2009-09-04 18:33:31
    +unanalyzedcall on org.apache.openjpa.enhance.StateManager:acc essingField2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. PingTarget:getPingUrl2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getAbsoluteURL2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getName2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClient2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClient:execu te2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClient:setCo nfig2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClientConfig Impl2009-09-04 18:33:31
    +unanalyzedcall on org.apache.xmlrpc.client.XmlRpcClientConfig Impl:setServerURL2009-09-04 18:33:31
    +unanalyzedcall on removeQueueEntry2009-09-04 18:33:31
    +unanalyzedcall on saveQueueEntry2009-09-04 18:33:31
    +test_vectororg.apache.commons.logging.Log:isDebugEnabled(... )@120: {0}, {1}2009-09-04 18:33:31
    +test_vectororg.apache.commons.logging.Log:isDebugEnabled(... )@144: {0}, {1}2009-09-04 18:33:31