~pbeaman/akiban-persistit/dynamic-volumes

« back to all changes in this revision

Viewing changes to src/test/java/com/persistit/TestShim.java

  • Committer: Peter Beaman
  • Date: 2013-03-14 14:36:37 UTC
  • mfrom: (374.37.13 stage)
  • Revision ID: pbeaman@akiban.com-20130314143637-3tn8o0gfb9adqzfg
Merge from trunk with changes for lock pruning fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
import java.nio.ByteBuffer;
19
19
import java.nio.channels.FileChannel;
20
20
 
 
21
import com.persistit.exception.BufferSizeUnavailableException;
21
22
import com.persistit.exception.InvalidKeyException;
22
23
import com.persistit.exception.PersistitException;
23
24
import com.persistit.exception.PersistitInterruptedException;
104
105
        jman.copyBack();
105
106
    }
106
107
 
107
 
    public static Exchange directoryExchange(final Volume volume) {
 
108
    public static Exchange directoryExchange(final Volume volume) throws BufferSizeUnavailableException {
108
109
        return volume.getStructure().directoryExchange();
109
110
    }
110
111