|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.vremanagement.softwaregateway.impl.is.ISManager
org.gcube.vremanagement.softwaregateway.impl.is.ISCache
public class ISCache
Implements a cache System for IS service
| Field Summary | |
|---|---|
static String |
CACHE_STRING_SEPARATOR
|
| Fields inherited from class org.gcube.vremanagement.softwaregateway.impl.is.ISManager |
|---|
cacheEnabled, logger |
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.gcube.vremanagement.softwaregateway.impl.is.ISManager |
|---|
buildServiceQuery, checkResourceOnIS, publicResourceIS, publicResourceIS, queryGCubeCoordinates, queryGCubePackagesCoordinates, queryMavenCoordinates, queryMavenPackagesCoordinates, queryPackagesCoordinates, queryPluginCoordinates, querySAMavenCoordinates, updatePackageResource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CACHE_STRING_SEPARATOR
| Method Detail |
|---|
public static ISCache getInstance()
public void updateProfile(String xml)
updateProfile in class ISManagerpublic List<URL> getMavenConfiguration()
getMavenConfiguration in class ISManager
protected 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||