base/common/src/main/com/thesett/common/tx/GlobalWriteLockWithWriteBehindTxMethod.java
private void addCachedOperation(TxId txId, TxOperation cachedWriteOperation)
    {
        List<TxOperation> writeCache = txWrites.get(txId);

        if (writeCache == null)
        {
            writeCache = new ArrayList<TxOperation>();
            txWrites.put(txId, writeCache);
        }

        writeCache.add(cachedWriteOperation);
    }
private void addCachedOperation(TxId txId, TxOperation cachedWriteOperation)
    {
        List<TxOperation> writeCache = txWrites.get(txId);

        if (writeCache == null)
        {
            writeCache = new ArrayList<TxOperation>();
            txWrites.put(txId, writeCache);
        }

        writeCache.add(cachedWriteOperation);
    }
Adds a transactional operation to the transactional write-behind cache for the specified transaction. If no cache
exists for the specified transaction id, a new one is created.

@param txId                 The transaction id to store the operation against.
@param cachedWriteOperation The operation to store.