|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.server.assertion.index.AsnIndexReference
public class AsnIndexReference
Represents a configuration reference to a Lucene based assertion index.
| Constructor Summary | |
|---|---|
AsnIndexReference()
Default constructor. |
|
AsnIndexReference(AsnIndexReference objectToDuplicate)
Construct by duplicating an existing object. |
|
| Method Summary | |
|---|---|
AsnIndexReference |
duplicate()
Produces a deep clone of the object. |
boolean |
getEnabled()
Gets the status indicating whether or not the index is enabled. |
String |
getIndexAdapterClass()
Gets the fully qualified class name of the index adapter. |
String |
getIndexLocation()
Gets the location of the index folder (system path). |
String |
getName()
Gets the name associated with the index. |
boolean |
getUseNativeFSLockFactory()
Gets the flag indicating if a NativeFSLockFactory should be used. |
int |
getWriteLockTimeout()
Gets the write lock timeout in milli-seconds. |
AsnIndexAdapter |
makeIndexAdapter(AsnContext context)
Makes an index adapter based upon the associated indexAdapterClass. |
void |
setEnabled(boolean enabled)
Sets the status indicating whether or not the index is enabled. |
void |
setIndexAdatperClass(String indexAdapterClass)
Sets the fully qualified class name of the index adapter. |
void |
setIndexLocation(AsnIndexReference rootIndexRef,
String name,
String location)
Sets the location of the index folder (system path). |
void |
setIndexLocation(String location)
Sets the location of the index folder (system path). |
void |
setName(String name)
Sets the name associated with the index. |
void |
setUseNativeFSLockFactory(boolean useNative)
Sets the flag indicating if a NativeFSLockFactory should be used. |
void |
setWriteLockTimeout(int millis)
Sets the write lock timeout in milli-seconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsnIndexReference()
public AsnIndexReference(AsnIndexReference objectToDuplicate)
objectToDuplicate - the object to duplicate| Method Detail |
|---|
public boolean getEnabled()
true if enabledpublic void setEnabled(boolean enabled)
enabled - true if enabledpublic String getIndexAdapterClass()
public void setIndexAdatperClass(String indexAdapterClass)
indexAdapterClass - the index adapter classpublic String getIndexLocation()
public void setIndexLocation(String location)
location - the location
public void setIndexLocation(AsnIndexReference rootIndexRef,
String name,
String location)
rootIndexRef - the index reference associated with the assertion rootname - the index folder namelocation - the locationpublic String getName()
public void setName(String name)
name - the namepublic boolean getUseNativeFSLockFactory()
public void setUseNativeFSLockFactory(boolean useNative)
useNative - true if a NativeFSLockFactory should be used, otherwise use a SimpleFSLockFactorypublic int getWriteLockTimeout()
public void setWriteLockTimeout(int millis)
millis - the write lock timeout the write lock timeoutpublic AsnIndexReference duplicate()
public AsnIndexAdapter makeIndexAdapter(AsnContext context)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
context - the assertion operation context
ClassNotFoundException - if the class was not found
InstantiationException - if the class could not be instantiated
IllegalAccessException - if the class could not be accessed
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||