if(id == null) {
return result;
}
SipTransactionPersistentManager repMgr
= (SipTransactionPersistentManager)this.getSipSessionManager();
ReplicationState localCachedState
= repMgr.removeFromServletTimerReplicationCache(id);
//check if we got a hit from our own replica cache
//and check if we can trust it. If so save and return it immediately
boolean trustCachedState = canTrustLocallyCachedState(id, version, localCachedState);
ReplicationState bestState = null;
if(_logger.isLoggable(Level.FINE)) {
_logger.fine("ServletTimerStoreImpl>>__load:id= " + id + ", localCachedState=" +
localCachedState + ", trustCachedState=" + trustCachedState);
}
if(trustCachedState) {
bestState = localCachedState;
} else {
ReplicationState broadcastResultState =
findServletTimerViaBroadcastOrUnicast(id, version);
bestState = ReplicationState.getBestResult(localCachedState, broadcastResultState);
if(_logger.isLoggable(Level.FINE)) {
_logger.fine("ServletTimerStoreImpl>>__load:id=" + id + ", broadcastResultState " +
"from broadcast or unicast=" + broadcastResultState + ", bestState = " + bestState);