<?php

namespace App\Framework\Cache\Strategies;

use App\Framework\Cache\CacheKey;
use App\Framework\Core\ValueObjects\Duration;
use App\Framework\Core\ValueObjects\Timestamp;

/**
 * Write operation tracking
 */
final readonly class WriteOperation
{
    public function __construct(
        public CacheKey  $key,
        public int       $valueSize,
        public Duration  $writeTime,
        public Timestamp $timestamp
    ) {}
}
