|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.context.Configuration com.esri.gpt.control.webharvest.engine.HarvesterConfiguration
public class HarvesterConfiguration
Harvester configuration.
Field Summary | |
---|---|
static long |
AUTOSELECT_FREQUENCY
default autoselect wait/sleep duration (1 hour) |
static int |
DEFAULT_POOL_SIZE
default pool of worker threads getPoolSize |
static long |
MAX_REP_ERRORS
default maximum reported errors |
static long |
MAX_REP_RECORDS
default maximum reported records |
static boolean |
RESOURCE_AUTOAPPROVE
default resource auto approve |
static long |
WATCHDOG_FREQUENCY
default watch-dog wait/sleep duration (1 minute) |
Constructor Summary | |
---|---|
HarvesterConfiguration()
|
Method Summary | |
---|---|
boolean |
getActive()
Gets 'active' flag |
long |
getAutoSelectFrequency()
Gets auto-selection frequency (milliseconds). |
String |
getBaseContextPath()
Gets base context path |
long |
getMaxRepErrors()
Gets maximum number of errors to report. |
long |
getMaxRepRecords()
Gets maximum number of records to report. |
int |
getPoolSize()
Gets initial worker threads pool size. |
boolean |
getQueueEnabled()
Checks if queue enabled. |
boolean |
getResourceAutoApprove()
Checks if auto approve resource. |
long |
getWatchDogFrequency()
Gets watch-dog frequency (milliseconds). |
void |
setActive(boolean active)
Sets 'active' flag. |
void |
setAutoSelectFrequency(TimePeriod autoSelectFrequency)
Sets auto-selection frequency (milliseconds). |
void |
setBaseContextPath(String baseContextPath)
Sets base context path |
void |
setMaxRepErrors(long maxRepErrors)
Sets maximum number of errors to report. |
void |
setMaxRepRecords(long maxRepRecords)
Sets maximum number of records to report. |
void |
setPoolSize(int poolSize)
Sets initial worker threads pool size. |
void |
setQueueEnabled(boolean queueEnabled)
Enables/disables queue. |
void |
setResourceAutoApprove(boolean resourceAutoApprove)
Sets if auto approve resource. |
void |
setWatchDogFrequency(TimePeriod watchDogFrequency)
Sets watch-dog frequency (milliseconds). |
String |
toString()
Creates string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_POOL_SIZE
public static final long AUTOSELECT_FREQUENCY
public static final long WATCHDOG_FREQUENCY
public static final long MAX_REP_RECORDS
public static final long MAX_REP_ERRORS
public static final boolean RESOURCE_AUTOAPPROVE
Constructor Detail |
---|
public HarvesterConfiguration()
Method Detail |
---|
public boolean getActive()
true
if harvester should be activated at startuppublic void setActive(boolean active)
active
- true
if harvester should be activated at startuppublic boolean getQueueEnabled()
true
if queue enabledpublic void setQueueEnabled(boolean queueEnabled)
queueEnabled
- true
to enable queuepublic int getPoolSize()
public void setPoolSize(int poolSize)
poolSize
- the poolSize to setpublic long getAutoSelectFrequency()
public void setAutoSelectFrequency(TimePeriod autoSelectFrequency)
autoSelectFrequency
- the autoSelectFrequency to setpublic String getBaseContextPath()
public void setBaseContextPath(String baseContextPath)
baseContextPath
- the baseContextPath to setpublic long getWatchDogFrequency()
public void setWatchDogFrequency(TimePeriod watchDogFrequency)
watchDogFrequency
- watch-dog frequencypublic long getMaxRepErrors()
-1
for no limitpublic void setMaxRepErrors(long maxRepErrors)
maxRepErrors
- maximum number of errors to report or -1
for no limitpublic long getMaxRepRecords()
-1
for no limitpublic void setMaxRepRecords(long maxRepRecords)
maxRepRecords
- maximum number of records to report or -1
for no limitpublic boolean getResourceAutoApprove()
true
if auto approve resourcepublic void setResourceAutoApprove(boolean resourceAutoApprove)
resourceAutoApprove
- true
to auto approve resourcepublic String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |