-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9ec2fe
commit 80fbbee
Showing
9 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
*/ | ||
|
||
package com.glencoesoftware.omero.ms.core; | ||
package com.glencoesoftware.omero.zarr; | ||
|
||
import java.io.File; | ||
import java.io.IOException; | ||
|
@@ -58,10 +58,10 @@ | |
* @author Chris Allan <[email protected]> | ||
* | ||
*/ | ||
public class PixelsService extends ome.io.nio.PixelsService { | ||
public class ZarrPixelsService extends ome.io.nio.PixelsService { | ||
|
||
private static final org.slf4j.Logger log = | ||
LoggerFactory.getLogger(PixelsService.class); | ||
LoggerFactory.getLogger(ZarrPixelsService.class); | ||
|
||
public static final String NGFF_ENTITY_TYPE = "com.glencoesoftware.ngff:multiscales"; | ||
public static final long NGFF_ENTITY_ID = 3; | ||
|
@@ -85,7 +85,7 @@ public class PixelsService extends ome.io.nio.PixelsService { | |
/** Array path vs. ZarrArray cache */ | ||
private final AsyncLoadingCache<Path, ZarrArray> zarrArrayCache; | ||
|
||
public PixelsService( | ||
public ZarrPixelsService( | ||
String path, boolean isReadOnlyRepo, File memoizerDirectory, | ||
long memoizerWait, FilePathResolver resolver, BackOff backOff, | ||
TileSizes sizes, IQuery iQuery, | ||
|
@@ -102,10 +102,10 @@ public PixelsService( | |
this.iQuery = iQuery; | ||
zarrMetadataCache = Caffeine.newBuilder() | ||
.maximumSize(this.zarrCacheSize) | ||
.buildAsync(PixelsService::getZarrMetadata); | ||
.buildAsync(ZarrPixelsService::getZarrMetadata); | ||
zarrArrayCache = Caffeine.newBuilder() | ||
.maximumSize(this.zarrCacheSize) | ||
.buildAsync(PixelsService::getZarrArray); | ||
.buildAsync(ZarrPixelsService::getZarrArray); | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters