Package io.fluxcapacitor.common.tracking
Class SimpleTracker
java.lang.Object
io.fluxcapacitor.common.tracking.SimpleTracker
- All Implemented Interfaces:
Tracker,Comparable<Tracker>
-
Field Summary
Fields inherited from interface io.fluxcapacitor.common.tracking.Tracker
comparator -
Constructor Summary
ConstructorsConstructorDescriptionSimpleTracker(String consumerName, int maxSize, Consumer<MessageBatch> handler) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleaninthashCode()booleanvoidsend(MessageBatch batch) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.fluxcapacitor.common.tracking.Tracker
canHandle, compareTo, getConsumerName, getDeadline, getLastTrackerIndex, getMaxSize, getTypeFilter, hasMissedDeadline, isFilterMessageTarget, maxTimeout, sendEmptyBatch, singleTracker, withLastTrackerIndex
-
Constructor Details
-
SimpleTracker
-
-
Method Details
-
ignoreSegment
public boolean ignoreSegment()- Specified by:
ignoreSegmentin interfaceTracker
-
clientControlledIndex
public boolean clientControlledIndex()- Specified by:
clientControlledIndexin interfaceTracker
-
getTrackerId
- Specified by:
getTrackerIdin interfaceTracker
-
getClientId
- Specified by:
getClientIdin interfaceTracker
-
getPurgeDelay
- Specified by:
getPurgeDelayin interfaceTracker
-
send
-
equals
-
hashCode
public int hashCode() -
toString
-