/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheObjectIndexTable(ObjectIndexTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.executor = cacheDatabase.getExecutorService(); this.client = cacheDatabase.getClient(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheRepositoryTable(RepositoryTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.client = cacheDatabase.getClient(); this.options = cacheDatabase.getOptions(); this.none = Sync.none(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheRepositoryIndexTable(RepositoryIndexTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.client = cacheDatabase.getClient(); this.options = cacheDatabase.getOptions(); this.ns = Namespace.REPOSITORY_INDEX; this.none = Sync.none(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheObjectIndexTable(ObjectIndexTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.executor = cacheDatabase.getExecutorService(); this.client = cacheDatabase.getClient(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheRepositoryIndexTable(RepositoryIndexTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.client = cacheDatabase.getClient(); this.options = cacheDatabase.getOptions(); this.ns = Namespace.REPOSITORY_INDEX; this.none = Sync.none(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheChunkTable(ChunkTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.executor = cacheDatabase.getExecutorService(); this.client = cacheDatabase.getClient(); this.none = Sync.none(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheRepositoryTable(RepositoryTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.client = cacheDatabase.getClient(); this.options = cacheDatabase.getOptions(); this.none = Sync.none(); }
/** * Initialize a new wrapper. * * @param dbTable * the underlying database's corresponding table. * @param cacheDatabase * the cache database. */ public CacheChunkTable(ChunkTable dbTable, CacheDatabase cacheDatabase) { this.db = dbTable; this.executor = cacheDatabase.getExecutorService(); this.client = cacheDatabase.getClient(); this.none = Sync.none(); }