public GlobalBatch(GlobalCache cache, GlobalDatabase database)
        {
            if (cache == null)
                throw new ArgumentNullException("cache");
            if (database == null)
                throw new ArgumentNullException("database");

            this.cache = cache;
            this.database = database;
        }
        public GlobalBatch(GlobalCache cache, GlobalDatabase database)
        {
            if (cache == null)
            {
                throw new ArgumentNullException("cache");
            }
            if (database == null)
            {
                throw new ArgumentNullException("database");
            }

            this.cache    = cache;
            this.database = database;
        }