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 int
protected NodeChannel
protected boolean
protected final org.slf4j.Logger
protected String
protected boolean
protected Map<String,
SimpleRouterContext.RouterTimer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddQueryTime
(String routerId, long qt) long
int
long
void
incrementStat
(long amount, String name) boolean
void
logStats
(org.slf4j.Logger log, long totalTimeInMs) void
setBatchSizeNotToExceed
(int batchSizeNotToExceed) void
setEncountedTransactionBoundary
(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
-