in mbp-only/src/main/java/com/epam/cme/mdp3/core/channel/MdpChannelImpl.java [224:239]
private void checkFeedIdleState() {
synchronized (this) {
final long allowedInactiveEndTime = this.channelController.getLastIncrPcktReceived() + idleWindowInMillis;
if (allowedInactiveEndTime < System.currentTimeMillis() &&
(incrementalFeedA.isActiveAndNotShutdown() || incrementalFeedB.isActiveAndNotShutdown())) {
this.channelController.lock();
try {
if (channelController.getState() != ChannelState.CLOSING && channelController.getState() != ChannelState.CLOSED) {
startSnapshotFeeds();
}
} finally {
this.channelController.unlock();
}
}
}
}