public boolean put(StreamRecordBatch recordBatch) {
        long startTime = System.nanoTime();
        tryRealFree();
        size.addAndGet(recordBatch.occupiedSize());
        readLock.lock();
        boolean full;
        try {
            full = activeBlock.put(recordBatch);
        } finally {
            readLock.unlock();
        }
        StorageOperationStats.getInstance().appendLogCacheStats.record(TimerUtil.timeElapsedSince(startTime, TimeUnit.NANOSECONDS));
        return full;
    }
Put a record batch into the cache.
record batched in the same stream should be put in order.
s3stream/src/main/java/com/automq/stream/s3/cache/LogCache.java