Package pl.tkowalcz.tjahzi
Class LogShipperAgent
java.lang.Object
pl.tkowalcz.tjahzi.LogShipperAgent
- All Implemented Interfaces:
org.agrona.concurrent.Agent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogShipperAgent(TimeCappedBatchingStrategy batchStrategy, org.agrona.concurrent.ringbuffer.ManyToOneRingBuffer logBuffer, OutputBuffer outputBuffer, NettyHttpClient httpClient, LogBufferMessageHandler messageHandler) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.agrona.concurrent.Agent
onStart
-
Field Details
-
MAX_MESSAGES_TO_RETRIEVE
public static final int MAX_MESSAGES_TO_RETRIEVE- See Also:
-
-
Constructor Details
-
LogShipperAgent
public LogShipperAgent(TimeCappedBatchingStrategy batchStrategy, org.agrona.concurrent.ringbuffer.ManyToOneRingBuffer logBuffer, OutputBuffer outputBuffer, NettyHttpClient httpClient, LogBufferMessageHandler messageHandler)
-
-
Method Details
-
doWork
- Specified by:
doWorkin interfaceorg.agrona.concurrent.Agent- Throws:
IOException
-
onClose
public void onClose()- Specified by:
onClosein interfaceorg.agrona.concurrent.Agent
-
roleName
- Specified by:
roleNamein interfaceorg.agrona.concurrent.Agent
-