Skip to content
Snippets Groups Projects
Commit a72b7403 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

rename Hdf5CellCache to VolatileCellCache because it is not hdf5 specific

parent 3dd5fb3f
No related branches found
No related tags found
No related merge requests found
...@@ -483,7 +483,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach ...@@ -483,7 +483,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach
stats.getIoTimeBudget().reset( partialBudget ); stats.getIoTimeBudget().reset( partialBudget );
} }
public class Hdf5CellCache implements CellCache< A > public class VolatileCellCache implements CellCache< A >
{ {
private final int timepoint; private final int timepoint;
...@@ -493,7 +493,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach ...@@ -493,7 +493,7 @@ public class VolatileGlobalCellCache< A extends VolatileAccess > implements Cach
private final LoadingStrategy loadingStrategy; private final LoadingStrategy loadingStrategy;
public Hdf5CellCache( final int timepoint, final int setup, final int level, final LoadingStrategy strategy ) public VolatileCellCache( final int timepoint, final int setup, final int level, final LoadingStrategy strategy )
{ {
this.timepoint = timepoint; this.timepoint = timepoint;
this.setup = setup; this.setup = setup;
......
...@@ -364,7 +364,7 @@ public class Hdf5ImageLoader implements ViewerImgLoader ...@@ -364,7 +364,7 @@ public class Hdf5ImageLoader implements ViewerImgLoader
final long[] dimensions = getImageDimension( view.getTimepointIndex(), view.getSetupIndex(), level ); final long[] dimensions = getImageDimension( view.getTimepointIndex(), view.getSetupIndex(), level );
final int[] cellDimensions = perSetupSubdivisions.get( view.getSetupIndex() )[ level ]; final int[] cellDimensions = perSetupSubdivisions.get( view.getSetupIndex() )[ level ];
final CellCache< VolatileShortArray > c = cache.new Hdf5CellCache( view.getTimepointIndex(), view.getSetupIndex(), level, loadingStrategy ); final CellCache< VolatileShortArray > c = cache.new VolatileCellCache( view.getTimepointIndex(), view.getSetupIndex(), level, loadingStrategy );
final VolatileImgCells< VolatileShortArray > cells = new VolatileImgCells< VolatileShortArray >( c, 1, dimensions, cellDimensions ); final VolatileImgCells< VolatileShortArray > cells = new VolatileImgCells< VolatileShortArray >( c, 1, dimensions, cellDimensions );
final CellImg< T, VolatileShortArray, VolatileCell< VolatileShortArray > > img = new CellImg< T, VolatileShortArray, VolatileCell< VolatileShortArray > >( null, cells ); final CellImg< T, VolatileShortArray, VolatileCell< VolatileShortArray > > img = new CellImg< T, VolatileShortArray, VolatileCell< VolatileShortArray > >( null, cells );
return img; return img;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment