Source:
<code>protected final void store(TxInvocationContext ctx) throws Throwable { List<WriteCommand> modifications = ctx.getCacheTransaction().getAllModifications(); if (modifications.isEmpty()) { if (trace) getLog().trace("Transaction has not logged any modifications!"); return; } if (trace) getLog().tracef("Cache loader modification list: %s", modifications); BatchUpdater modsBuilder = BatchUpdater.createNonTxStoreUpdater(this); for (WriteCommand cacheCommand : modifications) { if (isStoreEnabled(cacheCommand)) { cacheCommand.acceptVisitor(ctx, modsBuilder); } } BatchModification sharedMods = modsBuilder.modifications; BatchModification nonSharedMods = modsBuilder.nonSharedModifications; persistenceManager.writeBatchToAllNonTxStores(sharedMods.getMarshalledEntries(), BOTH, 0); persistenceManager.writeBatchToAllNonTxStores(nonSharedMods.getMarshalledEntries(), PRIVATE, 0); persistenceManager.deleteBatchFromAllNonTxStores(sharedMods.getKeysToRemove(), BOTH, 0); persistenceManager.deleteBatchFromAllNonTxStores(nonSharedMods.getKeysToRemove(), PRIVATE, 0); if (trace) { getLog().tracef("Writing shared batch with #entries=%s and non-shared batch with #entries=%s", sharedMods.getMarshalledEntries().size(), nonSharedMods.getMarshalledEntries().size()); <START> getLog().tracef("Deleting shared batch with #entries=%s and non-shared batch with #entries=%s", sharedMods.getKeysToRemove().size(), nonSharedMods.getKeysToRemove().size()); <END> } if (getStatisticsEnabled() && modsBuilder.putCount > 0) { cacheStores.getAndAdd(modsBuilder.putCount); } }</code><technical_language>%d entries</technical_language>

Target:
protected final void store(TxInvocationContext ctx) throws Throwable { List<WriteCommand> modifications = ctx.getCacheTransaction().getAllModifications(); if (modifications.isEmpty()) { if (trace) getLog().trace("Transaction has not logged any modifications!"); return; } if (trace) getLog().tracef("Cache loader modification list: %s", modifications); TxBatchUpdater modsBuilder = TxBatchUpdater.createNonTxStoreUpdater(this, persistenceManager, entryFactory, marshaller); for (WriteCommand cacheCommand : modifications) { if (isStoreEnabled(cacheCommand)) { cacheCommand.acceptVisitor(ctx, modsBuilder); } } BatchModification sharedMods = modsBuilder.getModifications(); BatchModification nonSharedMods = modsBuilder.getNonSharedModifications(); persistenceManager.writeBatchToAllNonTxStores(sharedMods.getMarshalledEntries(), BOTH, 0); persistenceManager.writeBatchToAllNonTxStores(nonSharedMods.getMarshalledEntries(), PRIVATE, 0); persistenceManager.deleteBatchFromAllNonTxStores(sharedMods.getKeysToRemove(), BOTH, 0); persistenceManager.deleteBatchFromAllNonTxStores(nonSharedMods.getKeysToRemove(), PRIVATE, 0); if (trace) { getLog().tracef("Writing shared batch with #entries=%d and non-shared batch with #entries=%d", sharedMods.getMarshalledEntries().size(), nonSharedMods.getMarshalledEntries().size()); getLog().tracef("Deleting shared batch with #entries=%d and non-shared batch with #entries=%d", sharedMods.getKeysToRemove().size(), nonSharedMods.getKeysToRemove().size()); } if (getStatisticsEnabled() && modsBuilder.getPutCount() > 0) { cacheStores.getAndAdd(modsBuilder.getPutCount()); } }