Class PushContext
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.tcp.client.session.push.PushContext
-
public class PushContext extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.concurrent.atomic.AtomicLongdeliveredMsgsCountjava.util.concurrent.atomic.AtomicLongdeliverFailMsgsCountorg.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description PushContext(SessionPusher sessionPusher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeliveredMsgCount()voiddeliverFailMsgCount()intgetTotalUnackMsgs()java.util.concurrent.ConcurrentHashMap<java.lang.String,DownStreamMsgContext>getUnAckMsg()java.lang.StringtoString()voidunAckMsg(java.lang.String seq, DownStreamMsgContext downStreamMsgContext)
-
-
-
Constructor Detail
-
PushContext
public PushContext(SessionPusher sessionPusher)
-
-
Method Detail
-
deliveredMsgCount
public void deliveredMsgCount()
-
deliverFailMsgCount
public void deliverFailMsgCount()
-
unAckMsg
public void unAckMsg(java.lang.String seq, DownStreamMsgContext downStreamMsgContext)
-
getTotalUnackMsgs
public int getTotalUnackMsgs()
-
getUnAckMsg
public java.util.concurrent.ConcurrentHashMap<java.lang.String,DownStreamMsgContext> getUnAckMsg()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-