public class ISCache extends ISManager
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_STRING_SEPARATOR |
cacheEnabled, logger| Modifier and Type | Method and Description |
|---|---|
String |
buildGCubeCoordinatesCacheInputString(Coordinates coordinates) |
String |
buildMavenCoordinatesCacheInputString(Coordinates coordinates) |
GCubeCoordinates |
getGcubeCoordinates(MavenCoordinates mavenC)
check if the mavenC parameter is present in the cache
|
List<GCubePackage> |
getGCubePackagesCoordinates(Coordinates coordinates)
check if the gcubeC parameter is present in the cache
|
static ISCache |
getInstance() |
List<URL> |
getMavenConfiguration()
Not implemented for cache
|
MavenCoordinates |
getMavenCoordinates(Coordinates gcubeC)
check if the gCubeC parameter is present in the cache
|
List<MavenPackage> |
getMavenPackagesCoordinates(GCubeCoordinates gcubeC)
check if the gcubeC parameter is present in the cache
|
List<GCubePackage> |
getPluginCoordinates(Coordinates gcubeC)
check if the gcubeC parameter is present in the cache
|
protected void |
put(Coordinates key,
Object value)
Put a new element in the cache
|
void |
remove(Coordinates coordinates) |
void |
updateProfile(String xml)
Not implemented for cache
|
buildServiceQuery, checkResourceOnIS, publicResourceIS, publicResourceIS, queryGCubeCoordinates, queryGCubePackagesCoordinates, queryMavenCoordinates, queryMavenPackagesCoordinates, queryPackagesCoordinates, queryPluginCoordinates, querySAMavenCoordinates, updatePackageResourcepublic static final String CACHE_STRING_SEPARATOR
public static ISCache getInstance()
public void updateProfile(String xml)
updateProfile in class ISManagerpublic List<URL> getMavenConfiguration()
getMavenConfiguration in class ISManagerprotected void put(Coordinates key, Object value)
key - value - public MavenCoordinates getMavenCoordinates(Coordinates gcubeC) throws org.gcube.common.core.informationsystem.ISException
getMavenCoordinates in class ISManagerorg.gcube.common.core.informationsystem.ISExceptionpublic GCubeCoordinates getGcubeCoordinates(MavenCoordinates mavenC)
mavenC - public List<MavenPackage> getMavenPackagesCoordinates(GCubeCoordinates gcubeC)
getMavenPackagesCoordinates in class ISManagergcubeC - public List<GCubePackage> getPluginCoordinates(Coordinates gcubeC)
getPluginCoordinates in class ISManagergcubeC - public List<GCubePackage> getGCubePackagesCoordinates(Coordinates coordinates)
coordinates - public void remove(Coordinates coordinates)
public String buildGCubeCoordinatesCacheInputString(Coordinates coordinates)
coordinates - public String buildMavenCoordinatesCacheInputString(Coordinates coordinates)
coordinates - Copyright © 2014. All Rights Reserved.