1
2
3
4
5
6 package org.openrdf.repository.readahead;
7
8 import org.openrdf.repository.Repository;
9 import org.openrdf.repository.RepositoryConnection;
10 import org.openrdf.repository.RepositoryException;
11 import org.openrdf.repository.base.RepositoryWrapper;
12
13
14
15
16
17
18
19
20 public class ReadAheadRepository extends RepositoryWrapper {
21
22 public ReadAheadRepository() {
23 super();
24 }
25
26 public ReadAheadRepository(Repository repository) {
27 super(repository);
28 }
29
30 @Override
31 public RepositoryConnection getConnection() throws RepositoryException {
32 return new ReadAheadConnection(this, super.getConnection());
33 }
34
35 }