Beispiel #1
0
        IPhysicalLog CreatePhysicalLog(
            ILogManager manager,
            string pathToCommonContainer,
            Guid physicalLogId,
            long containerSize,
            uint maximumNumberStreams,
            uint maximumLogicalLogBlockSize)
        {
            Task <IPhysicalLog> t = manager.CreatePhysicalLogAsync(
                pathToCommonContainer,
                physicalLogId,
                containerSize,
                maximumNumberStreams,
                maximumLogicalLogBlockSize,
                0,                             // Physical logs are not sparse
                CancellationToken.None);

            t.Wait();
            return(t.Result);
        }