Exemple #1
0
        public static BlobStorage CreateSingleton(string connectionString, long maxBufferPoolSize, int defaultBufferSize)
        {
            BufferManager manager = BufferManager.CreateBufferManager(maxBufferPoolSize, defaultBufferSize);

            bufferManager = new SkunkLabBufferManager(manager, defaultBufferSize);
            return(CreateSingleton(connectionString));
        }
Exemple #2
0
        public static TableStorage New(string connectionString, long maxBufferPoolSize, int defaultBufferSize)
        {
            BufferManager manager = BufferManager.CreateBufferManager(maxBufferPoolSize, defaultBufferSize);

            bufferManager = new SkunkLabBufferManager(manager, defaultBufferSize);
            return(new TableStorage(connectionString));
        }
Exemple #3
0
        public static BlobStorage New(string connectionString, string sasToken, long maxBufferPoolSize = 0, int defaultBufferSize = 0)
        {
            if (maxBufferPoolSize > 0)
            {
                BufferManager manager = BufferManager.CreateBufferManager(maxBufferPoolSize, defaultBufferSize);
                bufferManager = new SkunkLabBufferManager(manager, defaultBufferSize);
            }

            return(new BlobStorage(connectionString, sasToken));
        }