public NRTCachingDirectory(Directory delegate, double maxMergeSizeMB, double maxCachedMB) {super(delegate);maxMergeSizeBytes = (long) (maxMergeSizeMB * 1024 * 1024);maxCachedBytes = (long) (maxCachedMB * 1024 * 1024);}

public NRTCachingDirectory(Directory @delegate, double maxMergeSizeMB, double maxCachedMB){this.@delegate = @delegate;maxMergeSizeBytes = (long)(maxMergeSizeMB * 1024 * 1024);maxCachedBytes = (long)(maxCachedMB * 1024 * 1024);}
