org.xmlBlaster.util.protocol.email
Class EmailExecutor.LoopProtection
java.lang.Object
org.xmlBlaster.util.protocol.email.EmailExecutor.LoopProtection
- Enclosing class:
- EmailExecutor
protected class EmailExecutor.LoopProtection
- extends java.lang.Object
Use to protect against looping messages
Field Summary |
java.lang.String |
key
|
long |
lastPingRequestId
Ping runs in another thread, we need to protect seperately (an update can legally overtake a ping and vice versa) |
long |
lastRequestId
Use to protect against looping messages, is a monotonous ascending timestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
public java.lang.String key
lastRequestId
public long lastRequestId
- Use to protect against looping messages, is a monotonous ascending timestamp
lastPingRequestId
public long lastPingRequestId
- Ping runs in another thread, we need to protect seperately (an update can legally overtake a ping and vice versa)
EmailExecutor.LoopProtection
EmailExecutor.LoopProtection(java.lang.String key,
long lastRequestId,
long lastPingRequestId)
Copyright © 1999-2014 The xmlBlaster.org contributers.