Package org.jumpmind.symmetric.route
Class SimpleRouterContext
java.lang.Object
org.jumpmind.util.Context
org.jumpmind.symmetric.route.SimpleRouterContext
- Direct Known Subclasses:
ChannelRouterContext
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected NodeChannelprotected booleanprotected final org.slf4j.Loggerprotected Stringprotected booleanprotected Map<String,SimpleRouterContext.RouterTimer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddQueryTime(String routerId, long qt) longintlongvoidincrementStat(long amount, String name) booleanvoidlogStats(org.slf4j.Logger log, long totalTimeInMs) voidsetBatchSizeNotToExceed(int batchSizeNotToExceed) voidsetEncountedTransactionBoundary(boolean encountedTransactionBoundary) void
-
Field Details
-
log
protected final org.slf4j.Logger log -
channel
-
encountedTransactionBoundary
protected boolean encountedTransactionBoundary -
stats
-
nodeId
-
requestGapDetection
protected boolean requestGapDetection -
batchSizeNotToExceed
protected int batchSizeNotToExceed -
routerTimers
-
-
Constructor Details
-
SimpleRouterContext
public SimpleRouterContext() -
SimpleRouterContext
-
-
Method Details
-
addQueryTime
-
getBinaryEncoding
-
getBatchId
public long getBatchId() -
getSourceNodeId
-
getChannel
-
getContextCache
-
setEncountedTransactionBoundary
public void setEncountedTransactionBoundary(boolean encountedTransactionBoundary) -
isEncountedTransactionBoundary
public boolean isEncountedTransactionBoundary() -
getBatchSizeNotToExceed
public int getBatchSizeNotToExceed() -
setBatchSizeNotToExceed
public void setBatchSizeNotToExceed(int batchSizeNotToExceed) -
incrementStat
-
getStat
-
logStats
public void logStats(org.slf4j.Logger log, long totalTimeInMs) -
transferStats
-