DhtInserter(DhtObjDatabase objdb) { this.objdb = objdb; this.repo = objdb.getRepository().getRepositoryKey(); this.db = objdb.getDatabase(); this.options = objdb.getInserterOptions(); }
DhtInserter(DhtObjDatabase objdb) { this.objdb = objdb; this.repo = objdb.getRepository().getRepositoryKey(); this.db = objdb.getDatabase(); this.options = objdb.getInserterOptions(); }
this.repo = objdb.getRepository().getRepositoryKey(); this.db = objdb.getDatabase(); this.options = objdb.getInserterOptions(); this.chunkKeyDigest = Constants.newMessageDigest();
this.repo = objdb.getRepository().getRepositoryKey(); this.db = objdb.getDatabase(); this.options = objdb.getInserterOptions(); this.chunkKeyDigest = Constants.newMessageDigest();
DhtReader(DhtObjDatabase objdb) { this.repository = objdb.getRepository(); this.repo = objdb.getRepository().getRepositoryKey(); this.db = objdb.getDatabase(); this.readerOptions = objdb.getReaderOptions(); this.inserterOptions = objdb.getInserterOptions(); this.stats = new Statistics(); this.recentInfo = new RecentInfoCache(getOptions()); this.recentChunks = new RecentChunks(this); this.deltaBaseCache = new DeltaBaseCache(this); }
DhtReader(DhtObjDatabase objdb) { this.repository = objdb.getRepository(); this.repo = objdb.getRepository().getRepositoryKey(); this.db = objdb.getDatabase(); this.readerOptions = objdb.getReaderOptions(); this.inserterOptions = objdb.getInserterOptions(); this.stats = new Statistics(); this.recentInfo = new RecentInfoCache(getOptions()); this.recentChunks = new RecentChunks(this); this.deltaBaseCache = new DeltaBaseCache(this); }