|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.application.aquamaps.enabling.Impl.crawler.ISCrawler
public abstract class ISCrawler
| Field Summary | |
|---|---|
protected static org.gcube.common.core.informationsystem.client.ISClient |
isClient
|
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger
|
protected org.gcube.common.core.scope.GCUBEScope |
scope
|
| Constructor Summary | |
|---|---|
ISCrawler()
|
|
| Method Summary | |
|---|---|
String |
checks()
|
protected abstract ArrayList<org.gcube.common.core.scope.GCUBEScope> |
findAvailableScopes(org.gcube.common.core.scope.GCUBEScope Infrastructure)
|
void |
forceUpdate()
updates infrastructureMap information |
static ISCrawler |
get(int minutes,
int gcMinutes,
boolean enableGCForceing,
CrawlerMode mode,
org.gcube.common.core.scope.GCUBEScope startScope)
|
protected static List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments.ComputationalInfrastructure> |
getEnvironments(org.gcube.common.core.scope.GCUBEScope scope)
Query passed scope for generic resource referencing computational infrastructures Atomic conditions : //Profile/SecondaryType = ComputationalInfrastructure |
protected static List<DataSourceDescriptor> |
getGeoNetwork(org.gcube.common.core.scope.GCUBEScope scope)
Query passed scope for RuntimeResources describing valid geoNetworks AtomicConditions : //Profile/Category = Constants.get().getGeoNetworkCategoryName() //Profile/Platform/Name = Constants.get().getGeoNetworkPlatformName() Valid Access Points : EntryName = Constants.get().getGeoNetworkEntryName() |
protected static List<GeoServerDescriptor> |
getGeoServers(org.gcube.common.core.scope.GCUBEScope scope)
Query passed scope for RuntimeResources describing valid geoServers AtomicConditions : //Profile/Category = Constants.get().getGeoServerCategoryName() //Profile/Platform/Name = Constants.get().getGeoServerPlatformName() Valid Access Points : EntryName = Constants.get().getGeoServerEntryName() Mandatory properties : Constants.get().getGeoServerAquaMapsWorkspace() Constants.get().getGeoServerAquaMapsDataStore() Constants.get().getGeoServerAquaMapsDefaultDistributionStyle() |
protected static ArrayList<DBDescriptor> |
getGISDataBase(org.gcube.common.core.scope.GCUBEScope scope)
Query passed scope for RuntimeResources describing valid GIS Database AtomicConditions : //Profile/Category = Constants.get().getGeoServerDBCategory() //Profile/Platform/Name = Constants.get().getGeoServerDBPlatformName() Valid Access Points : EntryName = Constants.get().getGeoServerDBEntryName() Mandatory properties: Constants.get().getGeoServerDBAquaMapsDataStore() : boolean = true Constants.get().getDBMaxConnection() : integer DBDescriptor.AQUAMAPS_WORLD_TABLE |
ConcurrentHashMap<String,VODescriptor> |
getInfrastructureMap()
|
protected static ArrayList<DBDescriptor> |
getInternalDB(org.gcube.common.core.scope.GCUBEScope scope)
Query passed scope for RuntimeResources describing valid Internal Database AtomicConditions : //Profile/Category = Constants.get().getInternalDBCategoryName() //Profile/Platform/Name = Constants.get().getInternalDBPlatformName() Valid Access Points : EntryName = Constants.get().getInternalDBEntryName() Mandatory properties: Constants.get().getInternalDBSchemaName() : boolean = true Constants.get().getDBMaxConnection() : integer DBDescriptor.TABLESPACE_PREFIX DBDescriptor.TABLESPACE_COUNT |
protected static ArrayList<DBDescriptor> |
getPublisherDB(org.gcube.common.core.scope.GCUBEScope scope)
Query passed scope for RuntimeResources describing valid Publisher Database AtomicConditions : //Profile/Category = Constants.get().getPublisherDBCategoryName() //Profile/Platform/Name = Constants.get().getPublisherDBPlatformName() Valid Access Points : EntryName = Constants.get().getPublisherDBEntryName() Mandatory properties: Constants.get().getPublisherDBSchemaName() : boolean = true Constants.get().getDBMaxConnection() : integer |
protected static List<org.gcube.common.core.resources.GCUBERunningInstance> |
getRIsByServiceName(org.gcube.common.core.scope.GCUBEScope scope,
String serviceName)
|
protected static List<org.gcube.common.core.resources.GCUBERunningInstance> |
getRIsByServiceNameAndClass(org.gcube.common.core.scope.GCUBEScope scope,
String serviceName,
String serviceClass)
|
protected VODescriptor |
getScopeInformation(org.gcube.common.core.scope.GCUBEScope scope)
Makes query on passed scope to fill a VODescriptor object with required information |
protected abstract boolean |
isCheckGisDatabase()
|
protected abstract boolean |
isCheckInternalDB()
|
protected abstract boolean |
isCheckPublisherDatabase()
|
protected abstract boolean |
isCheckRunningInstance()
|
protected void |
schedule(int updateMinutes,
int gcMinutes,
boolean enableGCForcing)
Schedules both update routine and gcForceing (opt.) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.gcube.common.core.informationsystem.client.ISClient isClient
protected static org.gcube.common.core.utils.logging.GCUBELog logger
protected org.gcube.common.core.scope.GCUBEScope scope
| Constructor Detail |
|---|
public ISCrawler()
| Method Detail |
|---|
public static ISCrawler get(int minutes,
int gcMinutes,
boolean enableGCForceing,
CrawlerMode mode,
org.gcube.common.core.scope.GCUBEScope startScope)
throws Exception
Exception
protected abstract ArrayList<org.gcube.common.core.scope.GCUBEScope> findAvailableScopes(org.gcube.common.core.scope.GCUBEScope Infrastructure)
throws Exception
Exception
protected VODescriptor getScopeInformation(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exception
protected void schedule(int updateMinutes,
int gcMinutes,
boolean enableGCForcing)
updateMinutes - gcMinutes - enableGCForcing -
public void forceUpdate()
throws Exception
Exceptionpublic ConcurrentHashMap<String,VODescriptor> getInfrastructureMap()
protected static List<org.gcube.common.core.resources.GCUBERunningInstance> getRIsByServiceName(org.gcube.common.core.scope.GCUBEScope scope,
String serviceName)
throws Exception
Exception
protected static List<org.gcube.common.core.resources.GCUBERunningInstance> getRIsByServiceNameAndClass(org.gcube.common.core.scope.GCUBEScope scope,
String serviceName,
String serviceClass)
throws Exception
Exception
protected static List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments.ComputationalInfrastructure> getEnvironments(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exception
protected static List<GeoServerDescriptor> getGeoServers(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exception
protected static List<DataSourceDescriptor> getGeoNetwork(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exception
protected static ArrayList<DBDescriptor> getGISDataBase(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exception
protected static ArrayList<DBDescriptor> getInternalDB(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exception
protected static ArrayList<DBDescriptor> getPublisherDB(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
scope -
Exceptionprotected abstract boolean isCheckInternalDB()
protected abstract boolean isCheckGisDatabase()
protected abstract boolean isCheckPublisherDatabase()
protected abstract boolean isCheckRunningInstance()
public String checks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||