|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.gcs.component.config.Globals
This part of the Config
represents global parameters,
such as logger configuration
, locale,
max urls, number of threads, temp/content/summary filepool,
URL pool configuration
, system property,
and status monitor settings.
It automatically creates the specified Logger
s,
URLPool
, locale, and system network properties.
Method Summary | |
Config |
getConfig()
returns the parent Config object. |
static int |
getConnectTimeout()
returns the number of milliseconds to wait for connect on the network |
com.ibm.gcs.util.filepool.FilePool |
getContentFilePool()
returns the FilePool that is used for some crawled content files |
int |
getGraphMonitorRefreshTime()
returns the int value of the graph monitor refresh time (in half-second units) |
int |
getHowOftenToGC()
returns the number of URLs to crawl between requesting garbage collection |
java.util.Locale |
getLocale()
returns the current Locale |
int |
getMaxResourcePoolSize()
returns the maximum number of resources that can be in the resource pool |
int |
getMaxURLs()
returns int value of max-urls attribute |
int |
getNumCrawlers()
returns the number of crawler threads to use |
static int |
getNumCrawlersStatic()
returns the number of crawler threads to use. |
int |
getNumSummarizers()
returns the number of summarizer threads to use |
static int |
getReadTimeout()
returns the number of milliseconds to wait for data on the network |
java.lang.String |
getSummariesDir()
returns the summaries directory to use |
com.ibm.gcs.util.filepool.FilePool |
getSummariesFilePool()
returns the FilePool that is used for GCS summary files |
com.ibm.gcs.util.filepool.FilePool |
getTempFilePool()
returns the FilePool that is used for temporary files |
int |
getTextMonitorRefreshTime()
returns the int value of the graph monitor refresh time (in half-second units) |
com.ibm.gcs.urlpool.URLCollection |
getURLCollection()
returns contents of urlpool-config element |
URLPoolConfig |
getURLPoolConfig()
returns contents of urlpool-config element |
boolean |
isGraphMonitor()
|
boolean |
isTextMonitor()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getMaxURLs()
max-urls
attributepublic URLPoolConfig getURLPoolConfig()
urlpool-config
elementpublic com.ibm.gcs.urlpool.URLCollection getURLCollection()
urlpool-config
elementpublic int getNumCrawlers()
public static int getNumCrawlersStatic()
public int getNumSummarizers()
public int getHowOftenToGC()
public int getMaxResourcePoolSize()
public static int getConnectTimeout()
public static int getReadTimeout()
public boolean isGraphMonitor()
public boolean isTextMonitor()
public int getGraphMonitorRefreshTime()
public int getTextMonitorRefreshTime()
public Config getConfig()
public com.ibm.gcs.util.filepool.FilePool getTempFilePool()
FilePool
that is used for temporary filespublic com.ibm.gcs.util.filepool.FilePool getContentFilePool()
FilePool
that is used for some crawled content filespublic com.ibm.gcs.util.filepool.FilePool getSummariesFilePool()
FilePool
that is used for GCS summary filespublic java.lang.String getSummariesDir()
public java.util.Locale getLocale()
Locale
|
EIP Web Crawler APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |