{
try
{
for (int p : _partitions)
{
ClusterCheckpointPersistenceProvider cpProvider = new ClusterCheckpointPersistenceProvider(
p, _clusterConfig);
Checkpoint cp = new Checkpoint();
cp.setConsumptionMode(DbusClientMode.ONLINE_CONSUMPTION);
cp.setWindowOffset(-1);
cp.setWindowScn(scn);
if (_isLegacyCkptLocation)
{
cpProvider.storeCheckpointLegacy(_sources, cp);
}
else
{
cpProvider.storeCheckpoint(_sources, cp);
}
}
}
catch (InvalidConfigException e)
{